Rechercher dans le manuel MySQL
6.4.3.3 Transitioning to the Password Validation Component
In MySQL 8.0.4, the validate_password
plugin was reimplemented as the
validate_password
component. The
validate_password
plugin is deprecated and
will be removed in a future version of MySQL.
MySQL installations that currently use the
validate_password
plugin should make the
transition to using the validate_password
component instead. To do so, use the following procedure. The
procedure installs the component before uninstalling the plugin,
to avoid having a time window during which no password
validation occurs. (The component and plugin can be installed
simultaneously. In this case, the server attempts to use the
component, falling back to the plugin if the component is
unavailable.)
Install the
validate_password
component:- INSTALL COMPONENT 'file://component_validate_password';
Test the
validate_password
component to ensure that it works as expected. If you need to set anyvalidate_password.
system variables, you can do so at runtime usingxxx
SET GLOBAL
. (Any option file changes that must be made are performed in the next step.)Adjust any references to the plugin system and status variables to refer to the corresponding component system and status variables. Suppose that you configure the plugin at startup using an option file like this:
[mysqld] validate-password=FORCE_PLUS_PERMANENT validate_password_dictionary_file=/usr/share/dict/words validate_password_length=10 validate_password_number_count=2
To adjust the option file, omit the
--validate-password
option (it applies only to the plugin, not the component), and modify the system variable references:[mysqld] validate_password.dictionary_file=/usr/share/dict/words validate_password.length=10 validate_password.number_count=2
Similar adjustments are needed for applications that refer at runtime to
validate_password
plugin system and status variables.Uninstall the
validate_password
plugin:- UNINSTALL PLUGIN validate_password;
If the
validate_password
plugin is loaded at server startup using a--plugin-load
or--plugin-load-add
option, omit that option from the server startup procedure. For example, if the option is listed in a server option file, remove it from the file.Restart the server.
Nederlandse vertaling
U hebt gevraagd om deze site in het Nederlands te bezoeken. Voor nu wordt alleen de interface vertaald, maar nog niet alle inhoud.Als je me wilt helpen met vertalingen, is je bijdrage welkom. Het enige dat u hoeft te doen, is u op de site registreren en mij een bericht sturen waarin u wordt gevraagd om u toe te voegen aan de groep vertalers, zodat u de gewenste pagina's kunt vertalen. Een link onderaan elke vertaalde pagina geeft aan dat u de vertaler bent en heeft een link naar uw profiel.
Bij voorbaat dank.
Document heeft de 26/06/2006 gemaakt, de laatste keer de 26/10/2018 gewijzigd
Bron van het afgedrukte document:https://www.gaudry.be/nl/mysql-rf-validate-password-transitioning.html
De infobrol is een persoonlijke site waarvan de inhoud uitsluitend mijn verantwoordelijkheid is. De tekst is beschikbaar onder CreativeCommons-licentie (BY-NC-SA). Meer info op de gebruiksvoorwaarden en de auteur.
Referenties
Deze verwijzingen en links verwijzen naar documenten die geraadpleegd zijn tijdens het schrijven van deze pagina, of die aanvullende informatie kunnen geven, maar de auteurs van deze bronnen kunnen niet verantwoordelijk worden gehouden voor de inhoud van deze pagina.
De auteur Deze site is als enige verantwoordelijk voor de manier waarop de verschillende concepten, en de vrijheden die met de referentiewerken worden genomen, hier worden gepresenteerd. Vergeet niet dat u meerdere broninformatie moet doorgeven om het risico op fouten te verkleinen.