【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