Documentation Home

10.2 connection.MySQLConnection类

10.2.1 connection.MySQLConnection()构造函数
10.2.2 MySQLConnection.close()方法
10.2.3 MySQLConnection.commit()方法
10.2.4 MySQLConnection.config()方法
10.2.5 MySQLConnection.connect()方法
10.2.6 MySQLConnection.cursor()方法
10.2.7 MySQLConnection.cmd_change_user()方法
10.2.8 MySQLConnection.cmd_debug()方法
10.2.9 MySQLConnection.cmd_init_db()方法
10.2.10 MySQLConnection.cmd_ping()方法
10.2.11 MySQLConnection.cmd_process_info()方法
10.2.12 MySQLConnection.cmd_process_kill()方法
10.2.13 MySQLConnection.cmd_query()方法
10.2.14 MySQLConnection.cmd_query_iter()方法
10.2.15 MySQLConnection.cmd_quit()方法
10.2.16 MySQLConnection.cmd_refresh()方法
10.2.17 MySQLConnection.cmd_reset_connection()方法
10.2.18 MySQLConnection.cmd_shutdown()方法
10.2.19 MySQLConnection.cmd_statistics()方法
10.2.20 MySQLConnection.disconnect()方法
10.2.21 MySQLConnection.get_row()方法
10.2.22 MySQLConnection.get_rows()方法
10.2.23 MySQLConnection.get_server_info()方法
10.2.24 MySQLConnection.get_server_version()方法
10.2.25 MySQLConnection.is_connected()方法
10.2.26 MySQLConnection.isset_client_flag()方法
10.2.27 MySQLConnection.ping()方法
10.2.28 MySQLConnection.reconnect()方法
10.2.29 MySQLConnection.reset_session()方法
10.2.30 MySQLConnection.rollback()方法
10.2.31 MySQLConnection.set_charset_collat​​ion()方法
10.2.32 MySQLConnection.set_client_flags()方法
10.2.33 MySQLConnection.shutdown()方法
10.2.34 MySQLConnection.start_transaction()方法
10.2.35 MySQLConnection.autocommit 属性
10.2.36 MySQLConnection.unread_results 属性
10.2.37 MySQLConnection.can_consume_results 属性
10.2.38 MySQLConnection.charset 属性
10.2.39 MySQLConnection.collat​​ion 属性
10.2.40 MySQLConnection.connection_id 属性
10.2.41 MySQLConnection.database 属性
10.2.42 MySQLConnection.get_warnings 属性
10.2.43 MySQLConnection.in_transaction 属性
10.2.44 MySQLConnection.raise_on_warnings 属性
10.2.45 MySQLConnection.server_host 属性
10.2.46 MySQLConnection.server_port 属性
10.2.47 MySQLConnection.sql_mode 属性
10.2.48 MySQLConnection.time_zone 属性
10.2.49 MySQLConnection.unix_socket 属性
10.2.50 MySQLConnection.user 属性

该类MySQLConnection用于打开和管理与 MySQL 服务器的连接。它还用于发送命令和 SQL 语句并读取结果。