mysql - 无法启动 MySQL 社区服务器

标签 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,我有数据。

最佳答案

Mysql Workbench有这个功能,祝你好运!

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

关于mysql - 无法启动 MySQL 社区服务器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57094783/

相关文章:

javascript - 如何提取 mysql 列值并将其放入同一页面的 <div> 中?

php - 表中没有数据

mysql - MySQL中的DOUBLE vs DECIMAL

mysql - 如何从 Vagrant box 连接到 docker 容器中的 MySQL 数据库?

MySQL - 按非聚合列分组

mysql - 根据给定的参数值提取字符串

mysql - 收集最大月份数据

javascript - 在提交到 PHP 之前,如何使用 AJAX 从选择标签中获取数据?

mysql - 在一张表中建模数据与使用两张表相比的优势

php - 视频无法通过 php 上传