笔者使用 service mysqld restart 重启mysql服务的时候,报了Failed to restart mysqld.service: Unit not found
估计也就是服务名错误了,于是使用 chkconfig --list 查询服务列表
可以看到服务名称为"mysql",使用 service mysql restart重启mysql服务成功
版权声明:本文为qq_31083947原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。
笔者使用 service mysqld restart 重启mysql服务的时候,报了Failed to restart mysqld.service: Unit not found
估计也就是服务名错误了,于是使用 chkconfig --list 查询服务列表
可以看到服务名称为"mysql",使用 service mysql restart重启mysql服务成功