Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 666  / 2 Years ago, tue, september 6, 2022, 5:00:33

I have a few (Linode) Ubuntu 10.04 (64bit) VPSes, and mysqld keeps starting on every reboot on all of them --



$ uptime
16:32:26 up 1 min, 1 user, load average: 0.09, 0.08, 0.07

$ ps -ef | grep -i mysqld | grep -v grep
mysql 2364 1 0 16:17 ? 00:00:00 /usr/sbin/mysqld

$ sudo sysv-rc-conf --list mysql
mysql 2:off 3:off 4:off 5:off

$ sudo chkconfig -l mysql
mysql 0:off 1:off 2:off 3:off 4:off 5:off 6:off

$ sudo /etc/init.d/mysql stop

$ !ps
ps -ef | grep -i mysqld | grep -v grep


How else can I turn it off?



P.S. I raised this question to Linode but they are unable to answer.


More From » 10.04

 Answers
3

If you don't need mysql, why not remove it altogether?



sudo apt-get remove mysql-server


should do the trick


[#40394] Wednesday, September 7, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
giccolla

Total Points: 161
Total Questions: 124
Total Answers: 117

Location: Aland Islands
Member since Wed, Nov 17, 2021
3 Years ago
giccolla questions
Sun, Oct 17, 21, 05:39, 3 Years ago
Mon, Aug 1, 22, 02:00, 2 Years ago
Sun, Nov 21, 21, 08:21, 3 Years ago
;