Search



Search Results
Displaying 1511 to 1520 of 1834 total results
https://dev.mysql.com/doc/connectors/en/connector-python-api-mysqlconnection-set-charset-collation.html
Syntax: cnx.set_charset_collation(charset=None, collation=None) This method sets the character set and collation to be used for the current connection. The charset argument can be either the name of a character set, or the numerical equivalent as ...
https://dev.mysql.com/doc/connectors/en/connector-python-api-mysqlconnection-shutdown.html
Unlike disconnect(), shutdown() closes the client connection without attempting to send a QUIT command to the server first. Thus, it will not block if the connection is disrupted for some reason such as network failure.
https://dev.mysql.com/doc/connectors/en/connector-python-api-mysqlconnectionpool-get-connection.html
Syntax: cnxpool.get_connection() This method returns a connection from the pool, or raises a PoolError if no connections are available.
https://dev.mysql.com/doc/connectors/en/connector-python-api-mysqlconnectionpool-pool-name.html
Syntax: cnxpool.pool_name This property returns the connection pool name. Example: name = cnxpool.pool_name ...
https://dev.mysql.com/doc/connectors/en/connector-python-api-mysqlconnectionpool-set-config.html
Syntax: cnxpool.set_config(**kwargs) This method sets the configuration parameters for connections in the pool. Connections requested from the pool after the configuration change use the new parameters. Connections obtained before the change remain ...
https://dev.mysql.com/doc/connectors/en/connector-python-api-mysqlconnectionpool.html
This class provides for the instantiation and management of connection pools.
https://dev.mysql.com/doc/connectors/en/connector-python-api-mysqlcursorraw.html
Example: import mysql.connector cnx = mysql.connector.connect() # Only this particular cursor will be raw cursor = cnx.cursor(raw=True) # All cursors created from cnx2 will be raw by default cnx2 = mysql.connector.connect(raw=True) . A ...
https://dev.mysql.com/doc/connectors/en/connector-python-api-pooledmysqlconnection-constructor.html
Syntax: PooledMySQLConnection(cnxpool, cnx) This constructor takes connection pool and connection arguments and returns a pooled connection.
https://dev.mysql.com/doc/connectors/en/connector-python-api-pooledmysqlconnection-pool-name.html
Syntax: cnx.pool_name This property returns the name of the connection pool to which the connection belongs.
https://dev.mysql.com/doc/connectors/en/connector-python-reference.html
Examples should be considered working for Python 2.7, and Python 3.1 and greater. They might also work for older versions (such as Python 2.4) unless they use features introduced in newer Python versions. For example, exception handling using the as ...
Displaying 1511 to 1520 of 1834 total results