Install MySQL
AppServ : Apache + PHP + MySQL AppServ : Apache + PHP + MySQL

Intall Python MySQL connector:
Anaconda Prompt >(用系統管理者權限)conda install -c anaconda mysql-connector-python
Connector/Python Coding Examples
A sample MySQL database with an integrated test suite, used to test your applications and database servers

MySQL_python_CodeExamples.7z