启动mysql失败:Job for mysqld.service failed because the control process...
ubuntu 22.04环境,泛微E10-weaver_mysql_8.0.34.tar.gz 安装包以tar方式安装,启动或重启mysql失败。问题描述:
1.输入命令:service mysql start、service mysqlrestart 或 /etc/init.d/mysqld_weaver start都出现同样的错误提示。
root@ubuntu31:~# service mysqlrestart
Job for mysqld_weaver.service failed because the control process exited with error code.
See "systemctl status mysqld_weaver.service" and "journalctl -xeu mysqld_weaver.service" for details.
root@ubuntu31:~# service mysql start
Job for mysqld_weaver.service failed because the control process exited with error code.
See "systemctl status mysqld_weaver.service" and "journalctl -xeu mysqld_weaver.service" for details.
root@ubuntu31:~# /etc/init.d/mysqld_weaver start
Starting mysqld_weaver (via systemctl): mysqld_weaver.serviceJob for mysqld_weaver.service failed because the control process exited with error code.
See "systemctl status mysqld_weaver.service" and "journalctl -xeu mysqld_weaver.service" for details.
failed!
2.查看mysql的状态
service mysqld status
解决方案
1.查看mysql的权限
cd /var/lib/mysql
ls -lrt
2.查看进程 #ps -aux|grep mysql
ps -aux|grep mysql
3.KILL所有的进程:kill -9 pid 即 kill -9 23368
kill -9 23368
kill -9 23555
4.启动MYSQL :service mysql start
service mysql start
5.mysql运行状态:service mysql status
service mysql status
————————————————
原文链接:https://blog.csdn.net/baidu_39212797/article/details/102608363
http://www.admin365.cn/thread-112619-1-1.html
泛微E10-weaver_mysql_8.0.34.tar.gz 安装包以tar方式安装教程
http://www.admin365.cn/thread-112624-1-1.html
Linux启动或重启mysql失败:Job for mysqld.service failed because the control process exited with error code.
页:
[1]