啟動mysql報錯localhost.localdomain.pid


報錯內容:

-- Unit mysql.service has begun starting up.

Feb 02 20:33:50 localhost.localdomain mysql[4172]: Starting MySQL. ERROR! The server quit without updating PID file (/var/lib/mysql/localhost.localdomain.pid).

Feb 02 20:33:50 localhost.localdomain systemd[1]: mysql.service: control process exited, code=exited status=1

Feb 02 20:33:50 localhost.localdomain systemd[1]: Failed to start LSB: start and stop MySQL.

-- Subject: Unit mysql.service has failed

 

解決辦法:

       刪除掉/etc/my.conf


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM