Rechercher dans le manuel MySQL
6.4.3.1 Password Validation Component Installation and Uninstallation
This section describes how to install and uninstall the
validate_password
password-validation
component. For general information about installing and
uninstalling components, see
Section 5.5, “MySQL Server Components”.
If you install MySQL 8.0 using the
MySQL Yum
repository,
MySQL SLES
Repository, or
RPM packages provided
by Oracle, the validate_password
component is enabled by default after you start your MySQL
Server for the first time.
Upgrades to MySQL 8.0 from 5.7
using Yum or RPM packages leave the
validate_password
plugin in place. To make
the transition from the validate_password
plugin to the validate_password
component,
see Section 6.4.3.3, “Transitioning to the Password Validation Component”.
To be usable by the server, the component library file must be
located in the MySQL plugin directory (the directory named by
the plugin_dir
system
variable). If necessary, configure the plugin directory location
by setting the value of
plugin_dir
at server startup.
To install the validate_password
component,
use this statement:
- INSTALL COMPONENT 'file://component_validate_password';
Component installation is a one-time operation that need not be
done per server startup. INSTALL
COMPONENT
loads the component, and also registers it
in the mysql.component
system table to cause
it to be loaded during subsequent server startups.
To uninstall the validate_password
component,
use this statement:
- UNINSTALL COMPONENT 'file://component_validate_password';
UNINSTALL COMPONENT
unloads the
component, and deregisters it from the
mysql.component
system table to cause it not
to be loaded during subsequent server startups.
Document created the 26/06/2006, last modified the 26/10/2018
Source of the printed document:https://www.gaudry.be/en/mysql-rf-validate-password-installation.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.