Job for mysqld.service failed because the control process exited with error code. See "systemctl status mysqld.service" and "journalctl -xe" for details.
https://i.imgur.com/KtjreBu.png
https://i.imgur.com/ryid027.png
mysqld.log 里面的日志显示: 180424 02:55:53 mysqld_safe A mysqld process already exists 180424 02:55:55 mysqld_safe Logging to '/var/log/mysqld.log'. 180424 02:55:55 mysqld_safe A mysqld process already exists 180424 02:55:57 mysqld_safe Logging to '/var/log/mysqld.log'. 180424 02:55:57 mysqld_safe A mysqld process already exists 180424 02:55:59 mysqld_safe Logging to '/var/log/mysqld.log'. 180424 02:55:59 mysqld_safe A mysqld process already exists
怎么办?大佬们,在线等,谢谢。
1
letitbesqzr 2018-04-24 11:14:13 +08:00
mysqld_safe A mysqld process already exists 180424
写的不是很清楚.. |
2
kmdd33 OP @letitbesqzr 日志里面全部都是这种提示,你看看错误图片
|
3
kmdd33 OP |
4
wekw 2018-04-24 11:41:32 +08:00
A mysqld process already exists
我帮你人肉翻译:已经有一个 mysqld 进程正在运行 |
6
ob 2018-04-24 11:50:18 +08:00 via Android
先 kill 掉,检查下 my.cnf 配置。
|
7
kmdd33 OP ok 解决掉了:
# ps -A | grep mysql 8295 pts/4 00:00:00 mysql_secure_in 11599 ? 00:00:00 mysqld_safe 11737 ? 00:00:39 mysqld 然后# kill -9 11599 # kill -9 11737 然后:sudo systemctl start mysqld 谢谢各位 |
8
YumeMichi 2018-04-24 12:02:11 +08:00
汗颜 你这是初中英语没过关吗 start 是启动不是重启 restart 才是重启
|