- 相關推薦
啟動MYSQL時發現報錯的解決方法
啟動MYSQL時發現報錯 Starting MySQL. ERROR! Manager of pid-file quit without updating file
嘗試方法一:
打開/etc/selinux/config,把SELINUX=enforcing改為SELINUX=disabled后存盤退出重啟機器試試
嘗試方法二:
確實一般都是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.
【啟動MYSQL時發現報錯的解決方法】相關文章:
IE報錯Internet Explorer已停止工作的解決方法12-08
啟動失敗解決方法詳解11-23
游泳時發生抽筋的解決方法04-27
睡覺時干咳的解決方法12-02
運動時出汗多的解決方法11-07
MySQL常用操作命令04-01
孩子哭鬧時大憋氣的解決方法09-02
當孩子讓你感到丟臉時解決方法05-16
車輛發生刮蹭時的解決方法12-24
價格報錯了的解決辦法02-25