Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

WHat command do I run to remove that?

share|improve this question
3  
What platform? Windows / Linux / etc... –  Keith Dec 8 '09 at 20:03

1 Answer 1

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

share|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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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