1) The dependency of MySQLdb-python is a little more troublesome, but it is no problem for daily use. The code before the update instructions is stable and bug-free 2) sqlalchemy is just an ORM middle layer, and its main purpose is to solve the problem between different SQL databases Syntax differences, the bottom layer also requires specific drivers such as mssql (SQL Server), see http://docs.sqlalchemy.org/en/rel_1_0/dialects/mysql.html, which lists the supported Mysql driver types
You can check out the PyMySQL link
1) The dependency of MySQLdb-python is a little more troublesome, but it is no problem for daily use. The code before the update instructions is stable and bug-free
2) sqlalchemy is just an ORM middle layer, and its main purpose is to solve the problem between different SQL databases Syntax differences, the bottom layer also requires specific drivers such as mssql (SQL Server), see http://docs.sqlalchemy.org/en/rel_1_0/dialects/mysql.html, which lists the supported Mysql driver types