MySQLdb User's Guide - MySQL-Python
Functions and attributes Only a few top-level functions and attributes are defined within MySQLdb. connect(parameters...) Constructor for creating a connection to the database. Returns a Connection Object. Parameters are the same as for the MySQL C API. I...