怎么关闭mysql开机启动?
Tofloor
poster avatar
ishare20
deepin
2017-06-30 21:17
Author
上次做东西的装了mysql,但是会开机自启,重启的时候就卡在停止mysql哪里几分钟,然后才可以重启。我试过用这个关掉,但是还是开机自启了,还有什么办法关闭mysql开机自启的吗?





Reply Favorite View the author
All Replies
avatar
jingle
deepin
2017-06-30 22:04
#1
chkconfig --level 345 mysqld off  可以吗?
Reply View the author
avatar
duanyao
deepin
2017-07-01 01:50
#2
难道不是用 systemd 管理的?
systemctl disable mysql
Reply View the author
avatar
ishare20
deepin
2017-07-01 19:37
#3
https://bbs.deepin.org/post/141814
难道不是用 systemd 管理的?
systemctl disable mysql

用这个命令后,成功了。谢谢
Reply View the author