First of all my project is the Django2.0,python environment is 3.5.
We developed the Django project locally, ran it successfully locally, and then we put the Django project on the server, and it went wrong when we ran it.
We all know that if you use Python3 in Django, its official default use of the MYSQLDB is not available, we can also use mysqlclient to connect to MySQL, so we can see the end of the error
Have a hint did you install mysqlclient? Prompt us to install mysqlclient
First install the PIP3
Then we try to install Mysqlclient
Behold the error, now we need to install Libmysqld-dev can solve this problem
Put Libmysqld-dev this thing installed, we re-install Mysqlclient
Successfully installed Mysqlclient, we re-run the Django project, if there is no error stating success.
However, there is no error ...
Fix Django Project cannot install mysqlclient on Ubuntu system