主頁 > 知識庫 > MySQL關閉密碼強度驗證功能

MySQL關閉密碼強度驗證功能

熱門標簽:沈陽電銷外呼系統(tǒng)原理是什么 上海智能外呼系統(tǒng)代理商 成都優(yōu)派外呼系統(tǒng) 電子地圖標注電話 寧波企業(yè)外呼系統(tǒng)收費 扎樣申請400電話 聊城智能外呼系統(tǒng)運營商 地圖標注人員兼職 ps制作地圖標注gif

關于密碼強度驗證:

[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關閉密碼強度驗證功能,希望對大家有所幫助,如果大家有任何疑問請給我留言,小編會及時回復大家的。在此也非常感謝大家對腳本之家網(wǎng)站的支持!

您可能感興趣的文章:
  • mysql-8.0.15-winx64 使用zip包進行安裝及服務啟動后立即關閉問題
  • 完美解決mysql啟動后隨即關閉的問題(ibdata1文件損壞導致)
  • MySQL 關閉子表的外鍵約束檢察方法
  • PHP中用mysqli面向對象打開連接關閉mysql數(shù)據(jù)庫的方法
  • 安全地關閉MySQL服務的教程
  • lnmp下如何關閉Mysql日志保護磁盤空間
  • Windows下使用批處理實現(xiàn)啟動關閉mysql
  • MySQL數(shù)據(jù)庫開啟、關閉、查看函數(shù)功能的方法
  • MySQL關閉過程詳解和安全關閉MySQL的方法
  • Mysql的游標的定義使用及關閉深入分析
  • MySQL服務器的啟動和關閉
  • 怎樣安全地關閉MySQL實例

標簽:AXB 咸寧 汕頭 林芝 三明 內江 宿州 朔州

巨人網(wǎng)絡通訊聲明:本文標題《MySQL關閉密碼強度驗證功能》,本文關鍵詞  MySQL,關閉,密碼,強度,驗證,;如發(fā)現(xiàn)本文內容存在版權問題,煩請?zhí)峁┫嚓P信息告之我們,我們將及時溝通與處理。本站內容系統(tǒng)采集于網(wǎng)絡,涉及言論、版權與本站無關。
  • 相關文章
  • 下面列出與本文章《MySQL關閉密碼強度驗證功能》相關的同類信息!
  • 本頁收集關于MySQL關閉密碼強度驗證功能的相關信息資訊供網(wǎng)民參考!
  • 推薦文章