8.4 中文镜像

MySQL 8.4 参考手册 · 中文镜像

正文为中文,英文原文默认隐藏。点击任意中文段落即可展开 / 收起对应英文原文。

打开官方英文原文 ↗

译文由机器翻译生成,仅供理解参考;有疑问请以官方英文原文为准。

中文点击中文段落可显示 / 隐藏英文原文本页译文覆盖 67%

31.10 MySQL Python API

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.