無法安裝mysql-server ,找不出原因...

求助

(Hash543) #1

環境Debian 8 軟體 mysql-server 5.5
好一段時間沒有重啟今天重啟之後就再也開不起來
於是就把 mysql-server 移除再安裝一次,但問題是再也無法啟動
由下面訊息看來似乎是一隻檔案找不到 /usr/share/mysql/mysql-systemd-start
請各位協助一下

● mysql.service - MySQL Community Server
Loaded: loaded (/lib/systemd/system/mysql.service)
Active: failed (Result: start-limit) since Mon 2019-02-25 22:13:22 CST; 27s ago
Process: 10666

ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=203/EXEC)

Feb 25 22:13:22 localhost systemd[1]: Failed to start MySQL Community Server.
Feb 25 22:13:22 localhost systemd[1]: Unit mysql.service entered failed state.
Feb 25 22:13:22 localhost systemd[1]: mysql.service holdoff time over, scheduling restart.
Feb 25 22:13:22 localhost systemd[1]: Stopping MySQL Community Server…
Feb 25 22:13:22 localhost systemd[1]: Starting MySQL Community Server…
Feb 25 22:13:22 localhost systemd[1]: mysql.service start request repeated too quickly, refusing to start.
Feb 25 22:13:22 localhost systemd[1]: Failed to start MySQL Community Server.
Feb 25 22:13:22 localhost systemd[1]: Unit mysql.service entered failed state.


#2

你贴出的报错信息不是很完整,执行一下sudo journalctl -u mysql把输出贴一下看看