The problem Im facing while trying to connect to database for mysql. I have also given the database settings that i have used.
Traceback (most recent call l
I was having the same problem.The following solved my issue
Run pip install pymysql in your shell
Then, edit the init.py file in your project origin directory(the same as settings.py) and then
add:
import pymysql
pymysql.install_as_MySQLdb()
this should solve the problem.