I'm following this guide to reset my mysql root password (I'm on ubuntu). When I kill the mysqld process, it immediately gets resurrected. The parent process ID is 1.
How can I find what keeps resurrecting mysqld?
$ ps -ef | grep mysql
mysql 30136 1 0 07:16 ? 00:00:00 /usr/sbin/mysqld
root 30295 30274 0 07:18 pts/0 00:00:00 grep --color=auto mysql
$ kill -9 30136
$ ps -ef | grep mysql
mysql 30302 1 2 07:18 ? 00:00:00 /usr/sbin/mysqld
root 30404 30274 0 07:18 pts/0 00:00:00 grep --color=auto mysql
$
stop mysqlor/etc/init.d/mysql stopwill bring it down for good (usestartto start it back up, of course). – ripper234 Jun 25 '11 at 7:27