Woke up this morning found MySQL login is not on, service mysqld restart first package correct again reported failure, reported the error is another MySQL daemon already running with the same UNIX Socke T. too upset, the small in the early morning to give me a plug, see how to clean up your uncle.
Just do this: RM var/lib/mysql/mysql.sock
Then serve: Service mysqld start
I'll go! Not even! The top!
Start over: shutdown-h now
After coming in: Mv/var/lib/mysql/mysql.sock/var/lib/mysql/mysql.sock.bak;
Then service mysqld start
Ok! finally can have a peace of mind to eat breakfast.
Think about it, last night on the use of MySQL with the usual operation is the same, usually all right ah, how can appear this problem, later Niang a bit, the original last night virtual machine directly on the power outage, MySQL process no normal retreat. So it's a tragedy! There's a solution online: RM Mysql.sock, but I didn't do it the first time.
Although not a big problem, but early in the very disturbing!
MySQL "another MySQL daemon already running with the same UNIX socket" processing and thinking