MySQL :: MySQL Connector/Python Developer Guide :: 10 Connector/Python API Reference (original) (raw)
The world's most popular open source database
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.
Note
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