What process is resurrecting mysqld?
- by ripper234
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
$