22.6.7. Connector/Python API Reference

22.6.7.1. Errors and Exceptions
22.6.7.2. Class connection.MySQLConnection
22.6.7.3. Class cursor.MySQLCursor
22.6.7.4. Class cursor.MySQLCursorBuffered
22.6.7.5. Class constants.ClientFlag
22.6.7.6. Class constants.FieldType
22.6.7.7. Class constants.SQLMode
22.6.7.8. Class constants.CharacterSet
22.6.7.9. Class constants.RefreshOption

This section contains the public API reference of Connector/Python. Although valid for both Python 2 and Python 3, examples should be considered working for Python 2.7, and Python 3.1 and greater.

The following overview shows the mysql.connector package with its modules. Currently, only the most useful modules, classes and functions for end users are documented.

mysql.connector
  errorcode
  errors
  connection
  constants
  conversion
  cursor
  dbapi
  locales
    eng
      client_error
  protocol
  utils