Abstract
This manual describes how to install, configure, and develop database applications using MySQL Connector/Python, a self-contained Python driver for communicating with MySQL servers.
For release notes detailing the changes in each release of Connector/Python, see MySQL Connector/Python Release Notes.
Document generated on: 2013-05-23 (revision: 35248)
Table of Contents [+/-]
errorcodeerrors.Errorerrors.Warningerrors.InterfaceErrorerrors.DatabaseErrorerrors.InternalErrorerrors.OperationalErrorerrors.ProgrammingErrorerrors.IntegrityErrorerrors.DataErrorerrors.NotSupportedErrorerrors.custom_error_exception(error=None,
exception=None)connection.MySQLConnection [+/-]connection.MySQLConnection(**kwargs)MySQLConnection.close()MySQLConnection.config(**kwargs)MySQLConnection.connect(**kwargs)MySQLConnection.commit()MySQLConnection.cursor(buffered=None, raw=None,
cursor_class=None)MySQLConnection.cmd_change_user(username='',
password='', database='', charset=33)MySQLConnection.cmd_debug()MySQLConnection.cmd_init_db(database)MySQLConnection.cmd_ping()MySQLConnection.cmd_process_info()MySQLConnection.cmd_process_kill(mysql_pid)MySQLConnection.cmd_quit()MySQLConnection.cmd_query(statement)MySQLConnection.cmd_query_iter(statement)MySQLConnection.cmd_refresh(options)MySQLConnection.cmd_shutdown()MySQLConnection.cmd_statistics()MySQLConnection.disconnect()MySQLConnection.get_rows(count=None)MySQLConnection.get_row()MySQLConnection.get_server_info()MySQLConnection.get_server_version()MySQLConnection.is_connected()MySQLConnection.isset_client_flag(flag)MySQLConnection.ping(attempts=1, delay=0)MySQLConnection.reconnect(attempts=1, delay=0)MySQLConnection.rollback()MySQLConnection.set_charset_collation(charset=None,
collation=None)MySQLConnection.set_client_flags(flags)MySQLConnection.autocommitMySQLConnection.charset_nameMySQLConnection.collation_nameMySQLConnection.connection_idMySQLConnection.databaseMySQLConnection.get_warningsMySQLConnection.raise_on_warningsMySQLConnection.server_hostMySQLConnection.server_portMySQLConnection.sql_modeMySQLConnection.time_zoneMySQLConnection.unix_socketMySQLConnection.usercursor.MySQLCursor [+/-]cursor.MySQLCursorMySQLCursor.callproc(procname, args=())MySQLCursor.close()MySQLCursor.execute(operation, params=None,
multi=False)MySQLCursor.executemany(operation, seq_params)MySQLCursor.fetchall()MySQLCursor.fetchmany(size=1)MySQLCursor.fetchone()MySQLCursor.fetchwarnings()MySQLCursor.stored_results()MySQLCursor.column_namesMySQLCursor.statementMySQLCursor.with_rowscursor.MySQLCursorBufferedconstants.ClientFlagconstants.FieldTypeconstants.SQLModeconstants.CharacterSetconstants.RefreshOptiondtoa.c Licenselibedit) LicenseFindGTest.cmake Licensegetarg Licenselib_sql.cc Licenselibevent Licensememcached Licensemkpasswd.pl Licensezlib License