MySQL Connector/Python Developer Guide
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.
MySQLConnection