MySQL 9.1.0
Source Code Documentation
COM_RESET_CONNECTION

Resets the session state

A more lightweightt version of COM_CHANGE_USER that does about the same to clean up the session state, but:

  • it does not re-authenticate (and do the extra client/server exchange for that)
  • it does not close the connection
Payload
TypeNameDescription
int<1> command 0x1F: COM_RESET_CONNECTION
Returns
OK_Packet
See also
mysql_reset_connection, THD::cleanup_connection, dispatch_command