python连接mysql现在都用哪些库?
高洛峰
高洛峰 2017-04-17 17:52:52
0
2
292

1.请教下大家现在生产连接mysql数据用的是什么类库,(MySQLdb-python貌似很久没维护了,sqlalchemy现在在用的多么?)

高洛峰
高洛峰

拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...

reply all(2)
大家讲道理

You can check out the PyMySQL link

PHPzhong

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

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template