![](/img/trans.png)
[英]run the mysql with :“systemctl start mysqld.service ” error
[英]MySQL in Ubuntu trying to user systemctl to start service
我已經在Ubuntu上使用MySQL很長時間了,但是昨天,從深藍色開始,服務器無法啟動。 失敗並顯示以下消息:
2013-12-20 10:03:28 - Executting '/bin/systemctl start mysqld'
2013-12-20 10:03:28 - Start server: /bin/bash: /bin/systemctl: File or Folder
2013-12-20 10:03:28 - Start server: not found.
2013-12-20 10:03:28 - Checked server status: Server is stopped.
2013-12-20 10:03:29 - Server start done.
2013-12-20 10:03:29 - Checked server status: Server is stopped.
經過一點調查,我發現systemctl是( systemd )包的一部分,這不是Ubuntu 12.04中的默認值...默認值為upstart 。 那就是我能找到的所有信息。
所以我想到的問題是:1-mysql如何嘗試使用其他服務進行初始化? 也許更新破壞了它? 2-如何告訴mysql服務器使用upstart入門?
任何幫助,將不勝感激。
從谷歌: http : //upstart.ubuntu.com/還有一些手冊頁。 加載systemd並並行使用它來暴發戶可能不是一個好主意,但是嘗試進行實驗可能會很有趣。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.