How to remove the mysql and upgrade latest in ubuntu


if any previous install files it will remove for mysql


sudo apt-get remove --purge mysql-server mysql-client mysql-common
sudo apt-get autoremove
sudo rm -rf /var/lib/mysql
I had to run the last commandline, because Ubuntu sometimes keeps some libs even you try purge them all. Now install mysql server and client

sudo apt-get install python-django
 sudo apt-get install mysql-server
$ sudo apt-get install python-mysqldb

No comments:

Post a Comment