Search Results
https://dev.mysql.com/doc/internals/en/caching.html
(sql/hostname.cc) Privilege Cache To allow quick change between databases, the last used privileges are cached for each user/database combination. (Note that the some of the filenames contain an incorrect spelling of the word “cache.”) Key Cache ...
https://dev.mysql.com/doc/internals/en/cs-sect-expired-password.html
Since MySQL 5.6.7, a MySQL account can be expired with ALTER USER account PASSWORD EXPIRE. If a client is not setting that capability and it tries to login with an account that has an expired password, the server will return an ERR packet for the ...If a account is expired, the session is in a restricted mode which only permits SET PASSWORD ...
https://dev.mysql.com/doc/internals/en/debug-sync-facility.html
MySQL supports a Debug Sync Facility, which - in spite of the "debug" in its name - is completely independent from the DBUG facility (except that it uses DBUG to trace its operation, if DBUG is also configured in the server). The documentation here ...
https://dev.mysql.com/doc/internals/en/error-message-multiple-versions.html
Instead, use the ER_UNKNOWN_ERROR error code, and print a helpful error text with code similar to this: my_printf_error(ER_UNKNOWN_ERROR, "Some error text here, with the '%-.64s' parameter value" MYF(0), a_parameter); This will provide the user with ... It is critical that error codes are identical in all ...
https://dev.mysql.com/doc/internals/en/fast-path.html
and login with a user whose account uses sha256_password: 1d 01 00 01 85 a6 3f 00 00 00 00 01 21 00 00 00 ......?.....!... 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 02 ...
https://dev.mysql.com/doc/internals/en/implementing-savepoint-release-method.html
The savepoint_release() method is called whenever a user issues the RELEASE SAVEPOINT statement: int (*savepoint_release) (THD *thd, void *sv); The *sv parameter points to the storage area that was previously passed to the savepoint_set() method.
https://dev.mysql.com/doc/internals/en/implementing-savepoint-rollback-method.html
The savepoint_rollback() method is called whenever a user issues the ROLLBACK TO SAVEPOINT statement: int (*savepoint_rollback) (THD *thd, void *sv); The *sv parameter points to the storage area that was previously passed to the savepoint_set() ...
https://dev.mysql.com/doc/internals/en/implementing-savepoint-set-method.html
The savepoint_set() method is called whenever a user issues the SAVEPOINT statement: int (*savepoint_set)(THD *thd, void *sv); The *sv parameter points to an uninitialized storage area of the size defined by savepoint_offset. When savepoint_set() ...
https://dev.mysql.com/doc/internals/en/index.html
For help with using MySQL, please visit the MySQL Forums, where you can discuss your issues with other MySQL users.
https://dev.mysql.com/doc/internals/en/mysql-services-for-plugins.html
As of MySQL 5.5, plugins have access to server “services.” The services interface exposes server functionality that plugins can call. It complements the plugin API and has these characteristics: Services enable plugins to access code inside the ...