MySQL 无法在 Ubuntu 16.04 上运行

MySQL 无法在 Ubuntu 16.04 上运行

我在安装 MySQL 时遇到了很多问题,现在我已安装它,但它拒绝启动。当我运行:

sudo systemctl status mysql

返回:

mysql.service - MySQL Community Server
Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled)
Active: inactive (dead) (Result: exit-code) since lun 2016-08-29 09:25:31 CEST; 38min ago
Process: 2735 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=1/FAILURE)

ago 29 09:25:31 systemd[1]: Failed to start MySQL Community Server.
ago 29 09:25:31 systemd[1]: mysql.service: Unit entered failed state.
ago 29 09:25:31 systemd[1]: mysql.service: Failed with result 'exit-code'.
ago 29 09:25:31 systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
ago 29 09:25:31 systemd[1]: Stopped MySQL Community Server.
ago 29 09:25:31 systemd[1]: mysql.service: Start request repeated too quickly.
ago 29 09:25:31 systemd[1]: Failed to start MySQL Community Server.

有什么想法我可以知道发生了什么吗?

相关内容