Home Trees Index Help
Package MySQLdb :: Package constants :: Module CLIENT
[show private | hide private]

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


Variable Summary
int CHANGE_USER = 512
int COMPRESS = 32
int CONNECT_WITH_DB = 8
int FOUND_ROWS = 2
int IGNORE_SIGPIPE = 4096
int IGNORE_SPACE = 256
int INTERACTIVE = 1024
int LOCAL_FILES = 128
int LONG_FLAG = 4
int LONG_PASSWORD = 1
int MULTI_RESULTS = 131072
int MULTI_STATEMENTS = 65536
int NO_SCHEMA = 16
int ODBC = 64
int RESERVED = 16384
int SECURE_CONNECTION = 32768
int SSL = 2048

Variable Details

CHANGE_USER

Type:
int
Value:
512                                  

COMPRESS

Type:
int
Value:
32                                  

CONNECT_WITH_DB

Type:
int
Value:
8                                   

FOUND_ROWS

Type:
int
Value:
2                                   

IGNORE_SIGPIPE

Type:
int
Value:
4096                                 

IGNORE_SPACE

Type:
int
Value:
256                                  

INTERACTIVE

Type:
int
Value:
1024                                 

LOCAL_FILES

Type:
int
Value:
128                                  

LONG_FLAG

Type:
int
Value:
4                                   

LONG_PASSWORD

Type:
int
Value:
1                                   

MULTI_RESULTS

Type:
int
Value:
131072                                

MULTI_STATEMENTS

Type:
int
Value:
65536                                 

NO_SCHEMA

Type:
int
Value:
16                                  

ODBC

Type:
int
Value:
64                                  

RESERVED

Type:
int
Value:
16384                                 

SECURE_CONNECTION

Type:
int
Value:
32768                                 

SSL

Type:
int
Value:
2048                                 

Home Trees Index Help
Generated by Epydoc 2.1 on Sat Mar 3 21:14:16 2007 http://epydoc.sf.net

AltStyle によって変換されたページ (->オリジナル) /