sudo apt-get remove --purge mysql*
sudo apt-get purge mysql*
sudo apt-get autoremove
sudo apt-get autoclean
sudo apt-get remove dbconfig-mysql
- Download MySQL: Download from https://dev.mysql.com
shell> sudo dpkg -i /PATH/version-specific-package-name.deb
sudo apt-get update
sudo apt-get install mysql-server
sudo service mysql status
orsudo systemctl status mysql
sudo service mysql stop/start
orsudo systemctl stop/start/restart mysql
virtualenv -p python3 django_project
$ source env/bin/activate
pip install django==1.5.12
- Setup the project:
django-admin.py startproject my_django_project