COM_CHANGE_USER

You are viewing an old version of this article. View the current version here.

COM_CHANGE_USER

COM_CHANGE_USER resets the connection and re-authenticates with the given credentials. The packet is identical to the authentication packet in connection handshake.

Fields

  • int<1> 0x11 : COM_CHANGE_USER header
  • if (server_capabilities & CLIENT_SECURE_CONNECTION)
  • else
  • if (server_capabilities & CLIENT_CONNECT_WITH_DB)
  • if (server_capabilities & CLIENT_PLUGIN_AUTH)
  • if (server_capabilities & CLIENT_CONNECT_ATTRS)

Response

Authentication switch request or ERR packet.

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.