MySQL Connector/Python Developer Guide

10.2 connection.MySQLConnection Class

The MySQLConnection class is used to open and manage a connection to a MySQL server. It also used to send commands and SQL statements and read the results.