首页 新闻 会员 周边

ubantu操作系统启动mysql数据库

-1
悬赏园豆:10 [已解决问题] 解决于 2018-01-15 14:27

我通过终端使用service mysql start命令启动mysql数据库报

Job for mysql.service failed because the control process exited with error code. See "systemctl status my
sql.service" and "journalctl -xe" for details.错误

快乐留给你的主页 快乐留给你 | 初学一级 | 园豆:30
提问于:2017-10-23 11:04
< >
分享
最佳答案
-1

运行 systemctl status mysql.service 显示的错误是什么?

收获园豆:10
dudu | 高人七级 |园豆:31007 | 2017-10-23 13:56

● mysql.service - MySQL Community Server
Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2017-10-23 11:03:37 CST; 3h 21min ago
Process: 27200 ExecStartPost=/usr/share/mysql/mysql-systemd-start post (code=killed, signal=TERM)
Process: 27199 ExecStart=/usr/sbin/mysqld (code=exited, status=1/FAILURE)
Process: 27189 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=0/SUCCESS)
Main PID: 27199 (code=exited, status=1/FAILURE)

Oct 23 11:03:31 instance-k90jn67y systemd[1]: mysql.service: Service hold-off time over, scheduling resta
Oct 23 11:03:31 instance-k90jn67y systemd[1]: Stopped MySQL Community Server.
Oct 23 11:03:31 instance-k90jn67y systemd[1]: Starting MySQL Community Server...
Oct 23 11:03:33 instance-k90jn67y systemd[1]: mysql.service: Main process exited, code=exited, status=1/F
Oct 23 11:03:37 instance-k90jn67y systemd[1]: Stopped MySQL Community Server.
Oct 23 11:03:37 instance-k90jn67y systemd[1]: mysql.service: Unit entered failed state.
Oct 23 11:03:37 instance-k90jn67y systemd[1]: mysql.service: Failed with result 'exit-code'.
lines 1-15/15 (END)

快乐留给你 | 园豆:30 (初学一级) | 2017-10-23 14:27
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册