MySQL clean reinstall

To perform a clean reinstall of the MySQL server (which regenerates start scripts, databases and config files) use:

1
2
3
4
sudo apt-get install mysql-server</li>
sudo apt-get remove --purge mysql-server</li>
sudo apt-get autoremove mysql-server</li>
sudo apt-get install mysql-server</li>

Some times is useful!

Leave a Reply

Your email address will not be published. Required fields are marked *