首页 > 数据库技术 > 详细

Python中的MySQL接口:PyMySQL & MySQLdb

时间:2017-02-15 13:37:44      阅读:500      评论:0      收藏:0      [点我收藏+]

MySQLdb模块只支持MySQL-3.23到5.5之间的版本,只支持Python-2.4到2.7之间的版本

PyMySQL支持 Python3.0以后的版本

 

PyMySQL

https://pypi.python.org/pypi/PyMySQL  

https://github.com/PyMySQL/PyMySQL/blob/master/README.rst

  • Python -- one of the following:
  • MySQL Server -- one of the following:

 

MySQLdb

https://pypi.python.org/pypi/MySQL-python/1.2.5

MySQL-python 1.2.5

Python interface to MySQL

MySQLdb is an interface to the popular MySQL database server for Python. The design goals are:

  • Compliance with Python database API version 2.0 [PEP-0249]
  • Thread-safety
  • Thread-friendliness (threads will not block each other)

MySQL-3.23 through 5.5 and Python-2.4 through 2.7 are currently supported. Python-3.0 will be supported in a future release. PyPy is supported.

Python中的MySQL接口:PyMySQL & MySQLdb

原文:http://www.cnblogs.com/huamingao/p/6400920.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!