MySQLdb 是一个第三方驱动,为 Python 提供 MySQL 支持,兼容 Python DB API 2.0 版本。它可以在 http://sourceforge.net/projects/mysql-python/ 找到。MySQLdb is a third-party driver that provides
MySQL support for Python, compliant with the Python DB API version
2.0. It can be found at
http://sourceforge.net/projects/mysql-python/.
新的 MySQL Connector/Python 组件提供相同 Python API 的接口,并且内置于 MySQL 服务器,由 Oracle 支持。有关 Connector 的详细信息,以及 Python 应用程序的编码指南和示例 Python 代码,请参见 MySQL Connector/Python 开发者指南。The new MySQL Connector/Python component provides an interface to the same Python API, and is built into the MySQL Server and supported by Oracle. See MySQL Connector/Python Developer Guide for details on the Connector, as well as coding guidelines for Python applications and sample Python code.