啓動mysql時,提示「Another MySQL daemon already running with the same unix socket.」解決方法

使用口令service mysqld restart重啓mysql時,報「Another MySQL daemon already running with the same unix socket.」,主要原因是mysql進程被佔用,沒有徹底退出,導致無法重新啓動,如下圖: 解決方法: 切換到錯誤提示路徑下/var/lib/mysql,修改mysql.sock文件名稱,然後重新啓動mysql服務
相關文章
相關標籤/搜索