[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] [RaQ3 - mySQL] How to kill mysqld ?? root password forget




> kill `cat /var/log/mysql/mysql.pid`  :-( No permission.....)

> Somebody can help me please ???


i guess you could do the above after you've done a

# su -


or how i managed to kill mysql was thus (also as root)

# ps -A | grep mysql

grab the process ids (pid), and then

# kill -9 pid
# kill -9 pid

etc etc until the stubborn mongrel no longer appears in 

# ps -A | grep mysql


once you've got through that, do your 

# mysqld -Sg

and change the root password.


don't forget to kill it again and start it fresh!  ie

# mysqld