尝试更新 MySQL 服务器后,出现此错误,并且无法再次启动 mysql-server。
尝试启动服务器时出现以下错误信息
运行此命令后
systemctl status mysql.service
结果:
mysql.service - MySQL Community Server
Loaded: loaded (/lib/systemd/system/mysql.service; disabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2021-06-02 12:55:52 UTC; 9s ago Process: 23109 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=1/FAILURE)
Jun 02 12:55:51 ip-172-31-3-30 systemd[1]: Failed to start MySQL Community Server. Jun 02 12:55:52 ip-172-31-3-30 systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Jun 02 12:55:52 ip-172-31-3-30 systemd[1]: mysql.service: Scheduled restart job, restart counter is at 5.
Jun 02 12:55:52 ip-172-31-3-30 systemd[1]: Stopped MySQL Community Server.
Jun 02 12:55:52 ip-172-31-3-30 systemd[1]: mysql.service: Start request repeated too quickly.
Jun 02 12:55:52 ip-172-31-3-30 systemd[1]: mysql.service: Failed with result 'exit-code'.
Jun 02 12:55:52 ip-172-31-3-30 systemd[1]: Failed to start MySQL Community Server.
Jun 02 12:55:57 ip-172-31-3-30 systemd[1]: mysql.service: Start request repeated too quickly.
Jun 02 12:55:57 ip-172-31-3-30 systemd[1]: mysql.service: Failed with result 'exit-code'.
Jun 02 12:55:57 ip-172-31-3-30 systemd[1]: Failed to start MySQL Community Server.
我在互联网上尝试了很多解决方案,但不幸的是没有任何效果。
感谢您的帮助
提前致谢。
仅供参考。在 Ubuntu 18.04
上运行的服务器