MySQL Connector/Python Developer Guide
This chapter contains the public API reference for Connector/Python. Examples
should be considered working for Python 2.7, and Python 3.1 and
greater. They might also work for older versions (such as Python
2.4) unless they use features introduced in newer Python versions.
For example, exception handling using the as
keyword was introduced in Python 2.6 and will not work in Python
2.4.
Python 2.7 support was removed in Connector/Python 8.0.24.
The following overview shows the mysql.connector
package with its modules. Currently, only the most useful modules,
classes, and methods for end users are documented.
mysql.connector errorcode errors connection constants conversion cursor dbapi locales eng client_error protocol utils