国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 數據庫 > MySQL > 正文

MySQL關閉密碼強度驗證功能

2024-07-24 13:13:42
字體:
來源:轉載
供稿:網友

關于密碼強度驗證:

[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, 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(''); Query OK, 0 rows affected, 1 warning (0.00 sec) mysql>  

以上所述是小編給大家介紹的MySQL關閉密碼強度驗證功能,希望對大家有所幫助,如果大家有任何疑問請給我留言,小編會及時回復大家的。在此也非常感謝大家對VeVb武林網網站的支持!


注:相關教程知識閱讀請移步到MYSQL教程頻道。
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 宁波市| 色达县| 宁化县| 九龙坡区| 榆中县| 枞阳县| 信阳市| 澜沧| 永顺县| 玛曲县| 望都县| 丰顺县| 历史| 高碑店市| 唐海县| 和田县| 岑巩县| 漳浦县| 海宁市| 永平县| 定远县| 民和| 鄱阳县| 石渠县| 米泉市| 龙门县| 沙坪坝区| 镇沅| 遵化市| 镇沅| 格尔木市| 中方县| 云浮市| 中山市| 凤凰县| 宿迁市| 延津县| 洞头县| 胶州市| 炎陵县| 兴业县|