Search Results
https://dev.mysql.com/doc/connector-python/en/connector-python-api-mysql-connector-apilevel.html
This property is a string that indicates the supported DB API level.
https://dev.mysql.com/doc/connector-python/en/connector-python-api-mysql-connector-paramstyle.html
This property is a string that indicates the Connector/Python default parameter style.
https://dev.mysql.com/doc/connector-python/en/connector-python-api-mysql-connector-version.html
This property indicates the Connector/Python version as a string. It is available as of Connector/Python 1.1.0. >>> mysql.connector.__version__ '1.1.0' ...
https://dev.mysql.com/doc/connector-python/en/connector-python-api-mysqlconnection-charset.html
This property returns a string indicating which character set is used for the connection, whether or not it is connected.
https://dev.mysql.com/doc/connector-python/en/connector-python-api-mysqlconnection-collation.html
This property returns a string indicating which collation is used for the connection, whether or not it is connected.
https://dev.mysql.com/doc/connector-python/en/connector-python-api-mysqlconnection-database.html
This property sets the current (default) database by executing a USE statement. The property can also be used to retrieve the current database name. >>> cnx.database = 'test' >>> cnx.database = 'mysql' >>> cnx.database u'mysql' Returns a string.
https://dev.mysql.com/doc/connector-python/en/connector-python-api-mysqlconnection-get-server-info.html
This method returns the MySQL server information verbatim as a string, for example '5.6.11-log', or None when not connected.
https://dev.mysql.com/doc/connector-python/en/connector-python-api-mysqlconnection-server-host.html
This read-only property returns the host name or IP address used for connecting to the MySQL server.
https://dev.mysql.com/doc/connector-python/en/connector-python-api-mysqlconnection-server-info.html
This read-only property returns the MySQL server information verbatim as a string: for example 8.4.0-log, or None when not connected.
https://dev.mysql.com/doc/connector-python/en/connector-python-api-mysqlconnection-time-zone.html
This property is used to set or retrieve the time zone session variable for the current connection. >>> cnx.time_zone = '+00:00' >>> cursor = cnx.cursor() >>> cursor.execute('SELECT NOW()') ; cursor.fetchone() (datetime.datetime(2012, 6, 15, 11, ...