MySQL is one of the most popular open source databases, but there is no integrated MySQL interface program in the Python standard library, and MySQLdb is a third-party package that needs to be downloaded and installed separately. The key to Python's connection to MySQL is to set up a database connection that, after a successful connection, is the same regardless of what database the backend is, and the properties and methods of the Db-api object are the same. 1 MySQL5.7.17 installation Tutorial HTTP://JINGYAN.BAIDU.C OM/ARTICLE/363872EC2E27076E4BA16FC3.HTML2 (to use Python premise) The second step in the installation link is click Python3.4 is not installed check, the Requirem appears ENT is still falling, then click on the line to continue. The ' importerror:no module named MySQLdb ' will appear when you import mysqldb with Python. This error is due to the MYSQLDB library that we do not have to install Python to connect to MySQL.
: http://sourceforge.net/projects/mysql-python/
Install mysql5.7.17 Tutorial Pro Test (WIN8)