【mysql】linux下mysql報Failed to restart mysqld.service: Unit not found


筆者使用 service mysqld restart 重啟mysql服務的時候,報了Failed to restart mysqld.service: Unit not found

 

估計也就是服務名錯誤了,於是使用 chkconfig --list 查詢服務列表

  

可以看到服務名稱為"mysql",使用 service mysql restart 重啟mysql服務成功

 

 

 

 

 



原文鏈接:https://blog.csdn.net/qq_31083947/article/details/90248565


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM