MySQL Connector/Python Developer Guide / ... / Connector/Python API Reference / connection.MySQLConnection Class / MySQLConnection.cmd_debug() Method
Instructs the server to write debugging information to the error log. The connected user must have theSUPER privilege.
Returns a dictionary containing the OK packet information.