庄泽波の博客

好记性不如烂笔头

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

  

posted on 2017-03-11 11:49  庄泽波  阅读(459)  评论(0编辑  收藏  举报

导航