client.py

来自「python联接mysql驱动 python联接mysql驱动」· Python 代码 · 共 30 行

PY
30
字号
"""MySQL CLIENT constantsThese constants are used when creating the connection. Use bitwise-OR(|) to combine options together, and pass them as the client_flagsparameter to MySQLdb.Connection. For more information on these flags,see the MySQL C API documentation for mysql_real_connect()."""LONG_PASSWORD = 1FOUND_ROWS = 2LONG_FLAG = 4CONNECT_WITH_DB = 8NO_SCHEMA = 16COMPRESS = 32ODBC = 64LOCAL_FILES = 128IGNORE_SPACE = 256CHANGE_USER = 512INTERACTIVE = 1024SSL = 2048IGNORE_SIGPIPE = 4096TRANSACTIONS = 8192 # mysql_com.h was WRONG prior to 3.23.35RESERVED = 16384SECURE_CONNECTION = 32768MULTI_STATEMENTS = 65536MULTI_RESULTS = 131072

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?