Package MySQLdb :: Package constants :: Module CLIENT
[hide private]
[frames] | no frames]

Source Code for Module MySQLdb.constants.CLIENT

 1  """MySQL CLIENT constants 
 2   
 3  These constants are used when creating the connection. Use bitwise-OR 
 4  (|) to combine options together, and pass them as the client_flags 
 5  parameter to MySQLdb.Connection. For more information on these flags, 
 6  see the MySQL C API documentation for mysql_real_connect(). 
 7   
 8  """ 
 9   
10  LONG_PASSWORD = 1 
11  FOUND_ROWS = 2 
12  LONG_FLAG = 4 
13  CONNECT_WITH_DB = 8 
14  NO_SCHEMA = 16 
15  COMPRESS = 32 
16  ODBC = 64 
17  LOCAL_FILES = 128 
18  IGNORE_SPACE = 256 
19  CHANGE_USER = 512 
20  INTERACTIVE = 1024 
21  SSL = 2048 
22  IGNORE_SIGPIPE = 4096 
23  TRANSACTIONS = 8192 # mysql_com.h was WRONG prior to 3.23.35 
24  RESERVED = 16384 
25  SECURE_CONNECTION = 32768 
26  MULTI_STATEMENTS = 65536 
27  MULTI_RESULTS = 131072 
28