remove ALL settings. remove ALL databases. remove ALL replication settings.

WHat command do I run to remove that?

link|improve this question

3  
What platform? Windows / Linux / etc... – Keith Dec 8 '09 at 20:03
feedback

1 Answer

First remove MySQL in ordinary way (using apt-get purge or yum remove). After that issue:

rm -rf /var/lib/mysql

to be sure that MySQL data is completely deleted

link|improve this answer
1  
Then, remove /etc/my.cnf and $HOME/.my.cnf to destroy any lingering configuration settings. – Sam Halicke Dec 8 '09 at 20:00
feedback

Your Answer

 
or
required, but never shown

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