Mysql实例MySQL关闭密码强度验证功能

Mysql实例MySQL关闭密码强度验证功能,第1张

概述介绍《Mysql实例MySQL关闭密码强度验证功能》开发教程,希望对您有用。

《MysqL实例MysqL关闭密码强度验证功能》要点:
本文介绍了MysqL实例MysqL关闭密码强度验证功能,希望对您有用。如果有疑问,可以联系我们。

关于密码强度验证:MysqL教程

[root@MysqL MysqL]# MysqL -uroot -p123456 MysqL: [Warning] Using a password on the command line interface can be insecure. Welcome to the MysqL monitor. Commands end with ; or \g. Your MysqL connection ID is 4 Server version: 5.7.18 copyright (c) 2000,2017,Oracle and/or its affiliates. All rights reserved. Oracle is a registered Trademark of Oracle Corporation and/or its affiliates. Other names may be Trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. MysqL>  MysqL>  MysqL> use MysqL ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement. MysqL> SET PASSWORD = PASSWORD(''); ERROR 1819 (HY000): Your password does not satisfy the current policy requirements MysqL> exit Bye [root@MysqL MysqL]#  [root@MysqL MysqL]#  [root@MysqL MysqL]# vi /etc/my.cnf # For advice on how to change settings please see # http://dev.MysqL.com/doc/refman/5.7/en/server-configuration-defaults.HTML [MysqLd] # # Remove leading # and set to the amount of RAM for the most important data # cache in MysqL. Start at 70% of total RAM for dedicated server,else 10%. # innodb_buffer_pool_size = 128M # # Remove leading # to turn on a very important data integrity option: logging # changes to the binary log between backups. # log_bin # # Remove leading # to set options mainly useful for reporting servers. # The server defaults are faster for transactions and fast SELECTs. # Adjust sizes as needed,experiment to find the optimal values. # join_buffer_size = 128M # sort_buffer_size = 2M # read_rnd_buffer_size = 2M datadir=/var/lib/MysqL socket=/var/lib/MysqL/MysqL.sock # disabling symbolic-links is recommended to prevent assorted security risks symbolic-links=0 log-error=/var/log/MysqLd.log pID-file=/var/run/MysqLd/MysqLd.pID plugin-load=valIDate_password.so valIDate-password=OFF ~ ~ ~ ~ ~ ~ ~ ~ "/etc/my.cnf" 30L,1016C written [root@MysqL MysqL]# service MysqLd restart StopPing MysqLd:                      [ OK ] Starting MysqLd:                      [ OK ] [root@MysqL MysqL]# MysqL -uroot -p123456 MysqL: [Warning] Using a password on the command line interface can be insecure. Welcome to the MysqL monitor. Commands end with ; or \g. Your MysqL connection ID is 4 Server version: 5.7.18 copyright (c) 2000,Oracle and/or its affiliates. All rights reserved. Oracle is a registered Trademark of Oracle Corporation and/or its affiliates. Other names may be Trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. MysqL>  MysqL>  MysqL> use MysqL ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement. MysqL> SET PASSWORD = PASSWORD(''); query OK,0 rows affected,1 warning (0.00 sec) MysqL>  

以上所述是小编给大家介绍的MysqL关闭密码强度验证功能,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的.在此也非常感谢大家对内存溢出PHP网站的支持!MysqL教程

总结

以上是内存溢出为你收集整理的Mysql实例MySQL关闭密码强度验证功能全部内容,希望文章能够帮你解决Mysql实例MySQL关闭密码强度验证功能所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/sjk/1161266.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-06-01
下一篇 2022-06-01

发表评论

登录后才能评论

评论列表(0条)

保存