MySQL錯誤Another MySQL daemon already running with the same unix socket.

 
啓動命令:/etc/init.d/mysqld.restart
 
MySQL錯誤Another MySQL daemon already running with the same unix socket.
緣由多個Mysql進程使用了同一個socket。
兩個方法解決: 第一個是當即關機 使用命令 shutdown -h now 關機,關機後在啓動,進程就中止了。 第二個直接把mysql.sock文件更名便可。也能夠刪除,推薦更名。 mv /var/lib/mysql/mysql.sock /var/lib/mysql/mysql.sock.bak
相關文章
相關標籤/搜索