Search



Search Results
Displaying 2931 to 2940 of 4186 total results
https://dev.mysql.com/doc/connector-python/en/connector-python-api-cext-ping.html
Syntax: alive = ccnx.ping() Returns True or False to indicate whether the connection to the MySQL server is working.
https://dev.mysql.com/doc/connector-python/en/connector-python-api-cext-query.html
It raises a TypeError exception if any argument has an invalid type, and a MySQLInterfaceError exception for any MySQL error returned by the MySQL server. ccnx.query('DROP TABLE IF EXISTS t') ccnx.query('CREATE TABLE t (i INT NOT NULL AUTO_INCREMENT ...
https://dev.mysql.com/doc/connector-python/en/connector-python-api-cext-select-db.html
Raises a MySQLInterfaceError exception for any MySQL error returned by the MySQL server. Syntax: ccnx.select_db(db_name) Sets the default (current) database for the current session.
https://dev.mysql.com/doc/connector-python/en/connector-python-api-errorcode.html
This module contains both MySQL server and client error codes defined as module attributes with the error number as value. Using error codes instead of error numbers could make reading the source code a bit easier. >>> from mysql.connector import ...
https://dev.mysql.com/doc/connector-python/en/connector-python-api-errors-interfaceerror.html
This exception is raised for errors originating from Connector/Python itself, not related to the MySQL server.
https://dev.mysql.com/doc/connector-python/en/connector-python-api-errors-internalerror.html
This exception is raised when the MySQL server encounters an internal error, for example, when a deadlock occurred.
https://dev.mysql.com/doc/connector-python/en/connector-python-api-errors-operationalerror.html
For example: too many connections; a host name could not be resolved; bad handshake; server is shutting down, communication errors. This exception is raised for errors which are related to MySQL's operations.
https://dev.mysql.com/doc/connector-python/en/connector-python-api-errors-warning.html
Consider using either more strict Server SQL Modes or the raise_on_warnings connection argument to make Connector/Python raise errors when your queries produce warnings. This exception is used for reporting important warnings, however, ...
https://dev.mysql.com/doc/connector-python/en/connector-python-api-mysqlconnection-cmd-debug.html
Instructs the server to write debugging information to the error log.
https://dev.mysql.com/doc/connector-python/en/connector-python-api-mysqlconnection-cmd-ping.html
Checks whether the connection to the server is working. This method is not to be used directly. Use ping() or is_connected() instead. Returns a dictionary containing the OK packet information. ...
Displaying 2931 to 2940 of 4186 total results