This method sets up a connection, establishing a session with the MySQL server. If no arguments are given, it uses the already configured or default values. For a complete list of possible arguments, see Chapter 7, Connector/Python Connection Arguments.
kwargs: Connection arguments.
cnx = MySQLConnection(user='joe', database='test')
For a connection obtained from a conection pool, the connection
object class is
pooled connection differs from an unpooled connection as
Section 8.1, “Connector/Python Connection Pooling”.
Copyright © 2012, 2014, Oracle and/or its affiliates. All rights reserved. Legal Notices