Ubuntu Remove Mysql.service in Systemctl

Posted 庄泽波の博客

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Ubuntu Remove Mysql.service in Systemctl相关的知识,希望对你有一定的参考价值。

After installing mysql 5.7, I do not want to start MySQL via systemctl.

It‘s unconvenient and complicated for maintainer. Actually, I like the way

that software should be installed by source package.

Solution to remove service:

systemctl disable mysql.service

cd /lib/systemd/system 

or

cd /etc/systemd/system

rm mysql.service

systemctl daemon-reload

  

以上是关于Ubuntu Remove Mysql.service in Systemctl的主要内容,如果未能解决你的问题,请参考以下文章