0

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

WHat command do I run to remove that?

1
  • 3
    What platform? Windows / Linux / etc...
    – Keith
    Dec 8, 2009 at 20:03

1 Answer 1

5

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

1
  • 1
    Then, remove /etc/my.cnf and $HOME/.my.cnf to destroy any lingering configuration settings. Dec 8, 2009 at 20:00

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .