|
The server unexpectedly after being given the power to start the MySQL database:
Another MySQL daemon already running withthe same unix socket.
Log on locally MySQL database prompt:
ERROR 2002 (HY000): Can not connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
the reason:
MySQL is not normally stop, mysql.sock persists reboot your machine, but the machine after the restart mysql actually start, so it needs to mysql.sock file / var / lib / mysql under to delete, and then you can start the mysql server. |
|
|
|