无法启动MySQL Community Server

时间:2019-07-18 12:45:20

标签: mysql

我已经使用以下命令更新了mysql-server(5.7至8.0):

apt-get install mysql-server

安装后,出现此错误:

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

记录journalctl -xe:

-- L'unité (unit) mysql.service a commencé à démarrer.
juil. 18 13:49:03 reflex02.soeman.fr systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- An ExecStart= process belonging to unit mysql.service has exited.
-- 
-- The process' exit code is 'exited' and its exit status is 1.
juil. 18 13:49:03 reflex02.soeman.fr systemd[1]: mysql.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- The unit mysql.service has entered the 'failed' state with result 'exit-code'.
juil. 18 13:49:03 reflex02.soeman.fr systemd[1]: Failed to start MySQL Community Server.
-- Subject: L'unité (unit) mysql.service a échoué
-- Defined-By: systemd
-- Support: https://www.debian.org/support

我不知道如何解决此问题,我无法删除mysql,我已经有数据。

1 个答案:

答案 0 :(得分:0)

Mysql Workbench具有此功能,祝您好运!

http://www.mysql.com/products/workbench/features.html