1. Why?
Each program connect to the database, python development 2. * version can be used directly from MySQL, python3. * Version need to download PyMySQL package to connect to the database. . .
2. how to do?
2.1 Change Source: pycharm software pip replace the default installation source for the domestic installation source (there are articles published before, click on the link to see how to replace): https://www.cnblogs.com/yblackd/p/11717186.html
2.2 installation package:
3.'re done