按照论坛中某大佬的安装指南,安装成功后运行OK,然后过了两天,开机查进程 没有mysql了 手动启动也不行
sudo service mysql start
Job for mysql.service failed because the control process exited with error code.
See "systemctl status mysql.service" and "journalctl -xe" for details.
错误详情:
sudo service mysql status
● mysql.service - MySQL Community Server
Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2019-04-24 11:56:42 CST; 50s ago
Process: 11324 ExecStart=/usr/sbin/mysqld --daemonize --pid-file=/run/mysqld/mysqld.pid (code=exited, status=1/FAILURE)
Process: 11304 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=0/SUCCESS)
4月 24 11:56:42 disneyliao-PC systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
4月 24 11:56:42 disneyliao-PC systemd[1]: mysql.service: Scheduled restart job, restart counter is at 5.
4月 24 11:56:42 disneyliao-PC systemd[1]: Stopped MySQL Community Server.
4月 24 11:56:42 disneyliao-PC systemd[1]: mysql.service: Start request repeated too quickly.
4月 24 11:56:42 disneyliao-PC systemd[1]: mysql.service: Failed with result 'exit-code'.
4月 24 11:56:42 disneyliao-PC systemd[1]: Failed to start MySQL Community Server.
sudo service mysql start
Job for mysql.service failed because the control process exited with error code.
See "systemctl status mysql.service" and "journalctl -xe" for details.
错误详情:
sudo service mysql status
● mysql.service - MySQL Community Server
Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2019-04-24 11:56:42 CST; 50s ago
Process: 11324 ExecStart=/usr/sbin/mysqld --daemonize --pid-file=/run/mysqld/mysqld.pid (code=exited, status=1/FAILURE)
Process: 11304 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=0/SUCCESS)
4月 24 11:56:42 disneyliao-PC systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
4月 24 11:56:42 disneyliao-PC systemd[1]: mysql.service: Scheduled restart job, restart counter is at 5.
4月 24 11:56:42 disneyliao-PC systemd[1]: Stopped MySQL Community Server.
4月 24 11:56:42 disneyliao-PC systemd[1]: mysql.service: Start request repeated too quickly.
4月 24 11:56:42 disneyliao-PC systemd[1]: mysql.service: Failed with result 'exit-code'.
4月 24 11:56:42 disneyliao-PC systemd[1]: Failed to start MySQL Community Server.