啟動MYSQL時發現報錯的解決方法

來源:文萃谷 1.57W

啟動MYSQL時發現報錯 Starting MySQL. ERROR! Manager of pid-file quit without updating file

啟動MYSQL時發現報錯的解決方法

嘗試方法一:

打開/etc/selinux/config,把SELINUX=enforcing改為SELINUX=disabled後存盤退出重啟機器試試

嘗試方法二:

確實一般都是配置文件的問題

/etc/來自以下文件:

如果你的內存≤64M,則複製/usr/local/share/mysql/為/etc/

# This is for a system with little memory (<= 64M) where MySQL is only used

# from time to time and it's important that the mysqld daemon

# doesn't use much resources.

如果內存是128M,則複製/usr/local/share/mysql/為/etc/

# This is for a system with little memory (32M - 64M) where MySQL plays

# an important part, or systems up to 128M where MySQL is used together with

# other programs (such as a web server)

如果內存是512M,則複製/usr/local/share/mysql/為/etc/

# This is for a large system with memory = 512M where the system runs mainly

# MySQL.

如果內存是1-2G,則複製/usr/local/share/mysql/為/etc/

# This is for a large system with memory of 1G-2G where the system runs mainly

# MySQL.

熱門標籤