Search Results
https://dev.mysql.com/doc/connector-python/en/connector-python-api-errors-error.html
errors.Error is internally used by Connector/Python to raise MySQL client and server errors and should not be used by your application to raise exceptions. This exception is the base class for all other exceptions in the errors module. It can be ...
https://dev.mysql.com/doc/internals/en/authentication-method.html
For earlier servers it is always Secure Password Authentication or Old Password Authentication depending on the CLIENT_SECURE_CONNECTION flag. Client and server negotiate what types of authentication they support as part of the connection phase.
https://dev.mysql.com/doc/internals/en/capability-negotiation.html
To permit an old client to connect to newer servers, the initial handshake contains the MySQL Server version the server's capabilities The client should only announce the capabilities in the Handshake Response Packet that it has in common with the ...They can agree on: use of status flags use of SQL states for error-codes authentication methods SSL support ...
https://dev.mysql.com/doc/internals/en/com-binlog-dump.html
The master responds either with a binlog network stream a ERR_Packet or (if BINLOG_DUMP_NON_BLOCK is set) with EOF_Packet If the binlog-filename is empty, the server will send the binlog-stream of the first known binlog. Requests a binlog network ...
https://dev.mysql.com/doc/internals/en/com-query-response.html
If the SERVER_MORE_RESULTS_EXISTS flag is set in the last EOF_Packet or (if the CLIENT_DEPRECATE_EOF capability flag is set) OK_Packet, another ProtocolText::Resultset will follow (see Multi-resultset). While a TIMESTAMP field may be a ...Image ...
https://dev.mysql.com/doc/internals/en/custom-engine-overview.html
The MySQL server is built in a modular fashion: The storage engines manage data storage and index management for MySQL. The MySQL server communicates with the storage engines through a defined API. Each storage engine is a class with each instance ...Handlers are instanced on the basis of one handler for each thread that needs to work with a specific ...
https://dev.mysql.com/doc/internals/en/implementing-rnd-next-method.html
After the table is initialized, the MySQL server will call the handler's [custom-engine.html#custom-engine-api-reference-rnd_next rnd_next()] method once for every row to be scanned until the server's search condition is satisfied or an end of file ...The rnd_next() method takes a single byte array parameter named ...
https://dev.mysql.com/doc/internals/en/new-authentication-method-not-known-by-client.html
the client connecting to the server the server responds with the Initial Handshake Packet the client sends the Handshake Response Packet the server responds with the Authentication Method Switch Request Packet to tell the client which authentication ... Even if client supports external authentication (CLIENT_PLUGIN_AUTH flag is set) the new authentication method indicated in the Authentication Method Switch Request Packet might be not know to ...
https://dev.mysql.com/doc/internals/en/non-client-plugin-auth-clients.html
The only situation where server will request authentication method change from a client which does not set CLIENT_PLUGIN_AUTH flag is when the following conditions hold: the client connects to an account which uses Old Password Authentication. the ...This packet does not contain new authentication method name, which is implicitly assumed to be Secure Password Authentication, and it does not contain new authentication ...
https://dev.mysql.com/doc/internals/en/public-key-retrieval-example.html
set --default-authentication-plugin=sha256_password for the MySQL server: 46 00 00 00 0a 35 2e 36 2e 37 2d 6c 6f 67 00 04 F....5.6.7-log.. set --default-auth=sha256_password for the MySQL client, don't provide it with the servers public-key and ...