mysql failed to start, solution
某草草
某草草 2017-06-20 10:05:32
0
4
964

Mysql keeps failing to restart, even configuration changes and repairs don’t work

某草草
某草草

reply all(4)
世界只因有你

If you have encountered something similar before, you can check the error log file and find a solution on Baidu

过去多啦不再A梦

pid is lost. It may be that my.cnf has been modified recently. Check if there are any errors. Also check the error log and the mysql error log in the /var/log directory.

我想大声告诉你

1. It may be that the /usr/local/mysql/data/mysql.pid file does not have write permission
Solution: Give permission and execute "chown -R mysql:mysql /var/data" "chmod -R 755 /usr/ local/mysql/data" and then restart mysqld!

2. The mysql process may already exist in the process
Solution: Use the command "ps -ef|grep mysqld" to check whether there is a mysqld process. If there is, use "kill -9 process number" to kill it, and then restart mysqld!

给我你的怀抱

You will know what the log says. The log will tell you clearly

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template