How do I turn off the mysql password validation?

后端 未结 13 1387
傲寒
傲寒 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:07

    To disable password checks in mariadb-10.1.24 (Fedora 24) I had to comment out a line in /etc/my.cnf.d/cracklib_password_check.cnf file:

    ;plugin-load-add=cracklib_password_check.so
    

    then restart mariadb service:

    systemctl restart mariadb.service
    

提交回复
热议问题