MySQL 9.1.0
Source Code Documentation
|
Classes | |
class | Handshake_client |
Client-side context for authentication handshake. More... | |
Functions | |
int | win_auth_handshake_client (MYSQL_PLUGIN_VIO *vio, MYSQL *mysql) |
Perform authentication handshake from client side. More... | |
int win_auth_handshake_client | ( | MYSQL_PLUGIN_VIO * | vio, |
MYSQL * | mysql | ||
) |
Perform authentication handshake from client side.
[in] | vio | pointer to MYSQL_PLUGIN_VIO instance to be used for communication with the server |
[in] | mysql | pointer to a MySQL connection for which we authenticate |
After reading the initial packet from server, containing its UPN to be used as service name, client starts packet exchange by sending the first packet in this exchange. While handshake is not yet completed, client reads packets sent by the server and process them, possibly generating new data to be sent to the server.
This function reports errors.