首页 > 代码库 > Warning: Unit file of mysql.service changed on disk, 'systemctl daemon-reload' recommended.

Warning: Unit file of mysql.service changed on disk, 'systemctl daemon-reload' recommended.

CentOS 7下重启MariaDB的时候出现Warning: Unit file of mysql.service changed on disk, ‘systemctl daemon-reload‘ recommended.错误,根据提示,

解决方法:

systemctl daemon-reload

正常重启MariaDB

systemctl restart mysql

即可。其他服务出现类似的情况,也可以使用systemctl daemon-reload来解决。



本文出自 “boyhack” 博客,请务必保留此出处http://461205160.blog.51cto.com/274918/1856836

Warning: Unit file of mysql.service changed on disk, 'systemctl daemon-reload' recommended.