Hi. I am trying to set up MySQL on Unix (Mac OS X). When I try to start mysql with the terminal command
I receive the error:
I just had it working yesterday! Before it restarted...
And yes I have looked at my.cnf to make sure it is pointing in the right place.
Also, when I run PhpMyAdmin I receive the same error. PHP is also pointing in the right place. Could this just be a case of mysql.sock not existing?
Thanks,
Steven.
Code:
/usr/local/mysql/bin/mysql --user=root --password=my_pass
Code:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2)
And yes I have looked at my.cnf to make sure it is pointing in the right place.
Also, when I run PhpMyAdmin I receive the same error. PHP is also pointing in the right place. Could this just be a case of mysql.sock not existing?
Thanks,
Steven.
Comment