Rechercher dans le manuel MySQL
20.5.4 Using X Plugin with the Caching SHA-2 Authentication Plugin
X Plugin supports MySQL accounts created with the
Section 6.4.1.3, “Caching SHA-2 Pluggable Authentication” plugin.
You can use X Plugin to authenticate against such accounts
using non-SSL connections with SHA256_MEMORY
authentication and SSL connections with PLAIN
authentication.
Although the caching SHA-2 authentication plugin holds an
authentication cache, to use such accounts with X Plugin the
X Plugin authentication cache plugin named
mysqlx_cache_cleaner
is used. Like
X Plugin, it is enabled by default.
Before you can use non-SSL connections to authenticate an account
which uses the caching_sha2_password
plugin,
the account must have authenticated at least once over an SSL
connection to store the password in the X Plugin
authentication cache. This means that the first use of an account
must be done using an SSL connection with the X Plugin
authentication cache enabled. Once this initial authentication
over SSL has succeeded non-SSL connections can be used.
Document created the 26/06/2006, last modified the 26/10/2018
Source of the printed document:https://www.gaudry.be/en/mysql-rf-x-plugin-sha2-cache-plugin.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.