Expand|Select|Wrap|Line Numbers
- /usr/local/mysql/bin/mysql --user=root --password=my_pass
Expand|Select|Wrap|Line Numbers
- 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.