打印

[MySQL] mysql 无法启动总是提示PID文件不存在。

mysql 无法启动总是提示PID文件不存在。

The server quit without updating PID file (/usr/local/mysql/var/iZ23uns8gh8Z.pid).


错误日志:


171104 12:38:26 mysqld_safe mysqld from pid file /usr/local/mysql/var/iZ23uns8gh8Z.pid ended
171104 12:39:05 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
Killed
171104 12:39:06 mysqld_safe mysqld from pid file /usr/local/mysql/var/iZ23uns8gh8Z.pid ended
171104 12:39:36 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
Warning: World-writable config file '/usr/local/mysql/my.cnf' is ignored
Killed
171104 12:39:37 mysqld_safe mysqld from pid file /usr/local/mysql/var/iZ23uns8gh8Z.pid ended
171104 12:43:28 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
Warning: World-writable config file '/usr/local/mysql/my.cnf' is ignored
Killed
171104 12:43:29 mysqld_safe mysqld from pid file /usr/local/mysql/var/iZ23uns8gh8Z.pid ended



171104 12:43:57 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
Warning: World-writable config file '/usr/local/mysql/my.cnf' is ignored
Killed
171104 12:43:57 mysqld_safe mysqld from pid file /usr/local/mysql/var/iZ23uns8gh8Z.pid ended
171104 12:44:42 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
Warning: World-writable config file '/usr/local/mysql/my.cnf' is ignored
Killed
171104 12:44:43 mysqld_safe mysqld from pid file /usr/local/mysql/var/iZ23uns8gh8Z.pid ended
171104 12:50:30 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
Killed
171104 12:50:31 mysqld_safe mysqld from pid file /usr/local/mysql/var/iZ23uns8gh8Z.pid ended


全是这个。
上面的warning 已经解决了,就剩下 pid 无法生成了

TOP

回复 1# 的帖子

被killed了,应该是内存不够用了

TOP