cup.thirdp.MySQLdb.constants package

Submodules

cup.thirdp.MySQLdb.constants.CLIENT module

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().

cup.thirdp.MySQLdb.constants.CR module

MySQL Connection Errors

Nearly all of these raise OperationalError. COMMANDS_OUT_OF_SYNC raises ProgrammingError.

cup.thirdp.MySQLdb.constants.ER module

MySQL ER Constants

These constants are error codes for the bulk of the error conditions that may occur.

cup.thirdp.MySQLdb.constants.FIELD_TYPE module

MySQL FIELD_TYPE Constants

These constants represent the various column (field) types that are supported by MySQL.

cup.thirdp.MySQLdb.constants.FLAG module

MySQL FLAG Constants

These flags are used along with the FIELD_TYPE to indicate various properties of columns in a result set.

cup.thirdp.MySQLdb.constants.REFRESH module

MySQL REFRESH Constants

These constants seem to mostly deal with things internal to the MySQL server. Forget you saw this.

Module contents