Package MySQLdb ::
Package constants ::
Module CLIENT
Module MySQLdb.constants.CLIENT
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().
CHANGE_USER
-
- Type:
-
int
- Value:
COMPRESS
-
- Type:
-
int
- Value:
CONNECT_WITH_DB
-
- Type:
-
int
- Value:
FOUND_ROWS
-
- Type:
-
int
- Value:
IGNORE_SIGPIPE
-
- Type:
-
int
- Value:
IGNORE_SPACE
-
- Type:
-
int
- Value:
INTERACTIVE
-
- Type:
-
int
- Value:
LOCAL_FILES
-
- Type:
-
int
- Value:
LONG_FLAG
-
- Type:
-
int
- Value:
LONG_PASSWORD
-
- Type:
-
int
- Value:
MULTI_RESULTS
-
- Type:
-
int
- Value:
MULTI_STATEMENTS
-
- Type:
-
int
- Value:
NO_SCHEMA
-
- Type:
-
int
- Value:
ODBC
-
- Type:
-
int
- Value:
RESERVED
-
- Type:
-
int
- Value:
SECURE_CONNECTION
-
- Type:
-
int
- Value: