How do I turn off the mysql password validation?

后端 未结 13 1258
傲寒
傲寒 2021-01-29 17:34

It seems that I may have inadvertently loaded the password validation plugin in MySQL 5.7. This plugin seems to force all passwords to comply to certain rules.

I would l

13条回答
  •  不思量自难忘°
    2021-01-29 18:06

    Uninstall:

    mysql> uninstall plugin validate_password;
    

    An uninstalled plugin is not displayed by show plugins;

    Install:

    mysql> install plugin validate_password SONAME 'validate_password.so';
    

    Disabled by configuration:

    [mysqld]
    validate_password = OFF
    

    A plugin can be disabled by configuration only if installed.

提交回复
热议问题