小编ioe*_*shu的帖子

出现错误:mysql.service 失败,因为控制进程退出并出现错误代码。安装docker后

我已经在我的 ubuntu 21 系统上安装了 MySQL-server,当我尝试启动 MySQL-Server 时,我得到了Job for mysql.service failed because the control process exited with error code. See "systemctl status mysql.service" and "journalctl -xeu mysql.service" for details. 安装 docker 并在其上运行 MySQL 之前,我得到 \nit 工作正常

\n

systemctl 状态 mysql.service

\n
mysql.service - MySQL Community Server\n     Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset:>\n     Active: failed (Result: exit-code) since Sat 2022-01-22 18:32:17 IST; 7min>\n    Process: 19128 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=>\n    Process: 19136 ExecStart=/usr/sbin/mysqld (code=exited, status=1/FAILURE)\n   Main PID: 19136 (code=exited, status=1/FAILURE)\n     Status: "Server startup …
Run Code Online (Sandbox Code Playgroud)

mysql ubuntu docker

3
推荐指数
1
解决办法
3万
查看次数

标签 统计

docker ×1

mysql ×1

ubuntu ×1