MySQL CLIENT constants
These constants are used when creating the connection. Use bitwise-OR (|) to combine options together, and pass them as the client_flags parameter to MySQLdb.Connection. For more information on these flags, see the MySQL C API documentation for mysql_real_connect().
MySQL Connection Errors
Nearly all of these raise OperationalError. COMMANDS_OUT_OF_SYNC raises ProgrammingError.
MySQL ER Constants
These constants are error codes for the bulk of the error conditions that may occur.
MySQL FIELD_TYPE Constants
These constants represent the various column (field) types that are supported by MySQL.
MySQL FLAG Constants
These flags are used along with the FIELD_TYPE to indicate various properties of columns in a result set.
MySQL REFRESH Constants
These constants seem to mostly deal with things internal to the MySQL server. Forget you saw this.