This question already has an answer here:

I reset my root mysql password with the following instructions:

(Works for Ubuntu as well) http://www.debian-administration.org/articles/442

But now I can't turn off mysqld_safe --skip-grant-tables.

When I run fg I have:

sudo /usr/bin/mysqld_safe --skip-grant-tables

How can I kill this and start MySQL securely?

marked as duplicate by Kulfy, karel, Charles Green, pomsky, Eric Carvalho Jan 8 at 18:43

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


You can likely just kill the process.

killall -9 mysqld


Not the answer you're looking for? Browse other questions tagged or ask your own question.