Search



Search Results
Displaying 2311 to 2320 of 4186 total results
https://dev.mysql.com/doc/connector-python/en/connector-python-api-cext-shutdown.html
Raises a MySQLErrorInterface exception if an error is retured by the MySQL server. The only argument currently permitted is an integer that describes the shutdown type. Raises a TypeError exception if the first argument is not an integer.
https://dev.mysql.com/doc/connector-python/en/connector-python-api-cext-stat.html
Syntax: info = ccnx.stat() Returns the server status as a string. Raises a MySQLErrorInterface exception if an error is retured by the MySQL server.
https://dev.mysql.com/doc/connector-python/en/connector-python-api-mysql-connector-connect.html
This method sets up a connection, establishing a session with the MySQL server. A connection with the MySQL server can be established using either the mysql.connector.connect() method or the mysql.connector.MySQLConnection() class: cnx = ...If no ...
https://dev.mysql.com/doc/connector-python/en/connector-python-api-mysqlconnection-client-flags.html
Syntax: >>> cnx.client_flags=flags >>> cnx.clieng_flags This property sets the client flags to use when connecting to the MySQL server, and returns the set value as an integer. For example, to unset LONG_FLAG and set the FOUND_ROWS flags: >>> from ...The flags value can be either an integer or a sequence of valid client flag values (see Section 10.7, “constants.ClientFlag ...
https://dev.mysql.com/doc/connector-python/en/connector-python-api-mysqlconnection-cmd-process-kill.html
Although still available, it is better to use the KILL SQL statement. The following two lines have the same effect: >>> cnx.cmd_process_kill(123) >>> cnx.cmd_query('KILL 123') .
https://dev.mysql.com/doc/connector-python/en/connector-python-api-mysqlconnection-cmd-query.html
Syntax: cnx.cmd_query(statement) This method sends the given statement to the MySQL server and returns a result. The returned dictionary contains information depending on what kind of query was executed. If the query is a SELECT statement, the ...
https://dev.mysql.com/doc/connector-python/en/connector-python-api-mysqlconnection-cmd-quit.html
This method sends a QUIT command to the MySQL server, closing the current connection. Since there is no response from the MySQL server, the packet that was sent is returned.
https://dev.mysql.com/doc/connector-python/en/connector-python-api-mysqlconnection-cmd-refresh.html
This method flushes tables or caches, or resets replication server information. The options argument should be a bitmask value constructed using constants from the constants.RefreshOption class. Example: >>> from mysql.connector import RefreshOption ...
https://dev.mysql.com/doc/connector-python/en/connector-python-api-mysqlconnection-cmd-reset-connection.html
Syntax: cnx.cmd_reset_connection() Resets the connection by sending a COM_RESET_CONNECTION command to the server to clear the session state. For MySQL servers older than 5.7.3 (when COM_RESET_CONNECTION was introduced), the reset_session() method ...This method permits the session state to be cleared without ...
https://dev.mysql.com/doc/connector-python/en/connector-python-api-mysqlconnection-cmd-shutdown.html
Deprecation This MySQL Server functionality is deprecated. Asks the database server to shut down. The connected user must have the SHUTDOWN privilege. Returns a dictionary containing the OK packet information. ...
Displaying 2311 to 2320 of 4186 total results