mysql啟動(dòng)報(bào)錯(cuò)MySQL server PID file could not be found
2017-01-12 17:38:242159
mysql啟動(dòng)報(bào)錯(cuò)MySQL server PID file could not be found
這篇文章主要介紹了mysql啟動(dòng)報(bào)錯(cuò)MySQL server PID file could not be found,具有一定的參考價(jià)值,感興趣的小伙伴們可以參考一下
昨天解決完數(shù)據(jù)庫(kù)跨權(quán)限操作后,今天打開(kāi)項(xiàng)目突然報(bào)錯(cuò)了,然后重啟數(shù)據(jù)庫(kù)時(shí),報(bào) ERROR! MySQL server PID file could not be found!,命令行鏈接數(shù)據(jù)庫(kù)時(shí)也報(bào) Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2),網(wǎng)上找了一些資料,居然都是相互抄襲的,并且并沒(méi)有解決問(wèn)題。然后自己摸索了一下,問(wèn)題就解決了,下面是我的解?方案,以便和我一樣遇到問(wèn)題的童鞋們參考?解決問(wèn)題。