What related log files show about the error? (/var/log/mysql/*)
They should give some info about the source of the error.
Configuration error may exist in my.cnf .
Richard Torres wrote:
Hello,
I’m having a trouble starting mysql since I emerged the newer version.
‘mysqld.sock’ doesn’t exist and the logs aren’t much help. Any help is
greatly appreciated.
-Richard
# mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/var/run/mysqld/mysqld.sock' (2)
# /etc/init.d/mysql start
* Starting mysql...
* Starting mysql (/etc/mysql/my.cnf)
* MySQL NOT started (0)