閱讀158 返回首頁    go 中電雲集


Starting MySQL….. ERROR! Manager of pid-file quit without updating file.

一般都是my.cnf配置文件的問題
/etc/my.cnf來自以下文件:

如果你的內存≤64M,則複製/usr/local/share/mysql/my-small.cnf為/etc/my.cnf
# 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/my-medium.cnf為/etc/my.cnf
# 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/my-large.cnf為/etc/my.cnf
# This is for a large system with memory = 512M where the system runs mainly
# MySQL.

如果內存是1-2G,則複製/usr/local/share/mysql/my-huge.cnf為/etc/my.cnf
# This is for a large system with memory of 1G-2G where the system runs mainly
# MySQL.

最後更新:2017-01-04 22:34:55

  上一篇:go 簡單修改mysql字符集
  下一篇:go Linux服務器攻擊四種級別介紹