Here’s how to do a complete purge of MySql.  You’ll lose all your data.

sudo apt-get --purge remove mysql-server mysql-common mysql-client

sudo apt-get install mysql-server mysql-common mysql-client php5-mysql

mysqladmin -u root password your-new-password

sudo /etc/init.d/mysql restart

mysql -u root -p

2 Comments

  1. This is a great tip! Thank you very much

  2. Thank you very much!
    This helped me with my linux server.


Post a Comment

*
*