无法启动mysql服务器



我无法在ubuntu 20.04上启动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 Tue 2021-08-24 11:27:20 UTC; 12s ago
Process: 46074 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, 
status=1/FAILURE)
Aug 24 11:27:20 virtualmin systemd[1]: mysql.service: Control process exited, 
code=exited, status=1/FAILURE
Aug 24 11:27:20 virtualmin systemd[1]: mysql.service: Failed with result 'exit-code'.
Aug 24 11:27:20 virtualmin systemd[1]: Failed to start MySQL Community Server.
Aug 24 11:27:20 virtualmin systemd[1]: mysql.service: Scheduled restart job, restart 
counter is at 5.
Aug 24 11:27:20 virtualmin systemd[1]: Stopped MySQL Community Server.
Aug 24 11:27:20 virtualmin systemd[1]: mysql.service: Start request repeated too 
quickly.
Aug 24 11:27:20 virtualmin systemd[1]: mysql.service: Failed with result 'exit-code'.
Aug 24 11:27:20 virtualmin systemd[1]: Failed to start MySQL Community Server.

大多数其他服务在同一端口(3306)上运行,试着

netstat -pnltu | grep -i "3306"

它将显示在该端口上运行的所有服务,如果有,只需结束它并重新启动Mysql服务器

相关内容

  • 没有找到相关文章

最新更新