What process is resurrecting mysqld?
Posted
by
ripper234
on Server Fault
See other posts from Server Fault
or by ripper234
Published on 2011-06-25T07:23:20Z
Indexed on
2011/06/25
8:23 UTC
Read the original article
Hit count: 235
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
$
© Server Fault or respective owner