Skip navigation

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



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

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

  3. thank’s, you solved my 10 day problem

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: