最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

MySQL關(guān)閉密碼強(qiáng)度驗(yàn)證功能

 更新時(shí)間:2017年06月22日 09:26:49   作者:songyb  
本文通過實(shí)例代碼給大家介紹了mysql關(guān)閉密碼強(qiáng)度驗(yàn)證功能,非常不錯(cuò),具有參考借鑒價(jià)值,需要的朋友參考下吧

關(guān)于密碼強(qiáng)度驗(yàn)證:

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

相關(guān)文章

  • 手把手帶你徹底卸載MySQL數(shù)據(jù)庫

    手把手帶你徹底卸載MySQL數(shù)據(jù)庫

    相信大家都因?yàn)楦鞣N各樣的原因可能需要卸載MySQL或者卸載重裝,但是如果MySQL不能清理干凈的話是很容易出現(xiàn)問題的,這篇文章主要給大家介紹了關(guān)于如何徹底卸載MySQL數(shù)據(jù)庫的相關(guān)資料,需要的朋友可以參考下
    2022-06-06
  • navicat不能創(chuàng)建函數(shù)解決方法分享

    navicat不能創(chuàng)建函數(shù)解決方法分享

    這篇文章主要介紹了navicat不能創(chuàng)建函數(shù)解決方法分享,小編覺得還是挺不錯(cuò)的,這里分享給大家,供需要的朋友參考。
    2017-10-10
  • mysql對binlog的處理說明

    mysql對binlog的處理說明

    Mysql和其它開源數(shù)據(jù)庫相比,具有更好的擴(kuò)展性。其主要原因是它提供了存儲(chǔ)引擎的開放接口。喜歡自己折騰數(shù)據(jù)庫的程序員可以從這個(gè)接口起步,打造有個(gè)性的數(shù)據(jù)庫。
    2011-07-07
  • mysql連接過多和死掉以及拒絕服務(wù)的解決方法

    mysql連接過多和死掉以及拒絕服務(wù)的解決方法

    mysql連接過多和死掉以及拒絕服務(wù)的解決方法...
    2007-12-12
  • 查看MySQL是否處于運(yùn)行狀態(tài)的常見方法

    查看MySQL是否處于運(yùn)行狀態(tài)的常見方法

    在管理 MySQL 數(shù)據(jù)庫的過程中,了解并掌握如何查看 MySQL 的運(yùn)行狀態(tài)至關(guān)重要,這不僅可以幫助我們及時(shí)發(fā)現(xiàn)潛在的問題,還能確保數(shù)據(jù)庫系統(tǒng)的穩(wěn)定性和性能,本文將詳細(xì)介紹通過不同的方法來查看 MySQL 是否處于運(yùn)行狀態(tài)的常見方法
    2025-02-02
  • Windows中MySQL root用戶忘記密碼解決方案

    Windows中MySQL root用戶忘記密碼解決方案

    在實(shí)際應(yīng)用中,經(jīng)常會(huì)出現(xiàn)忘記mysql管理員用戶root的密碼的情況出現(xiàn),那么我們?nèi)绾蝸碓O(shè)置一個(gè)新密碼從而登錄數(shù)據(jù)庫呢,下面我們來探討下
    2014-07-07
  • 簡單介紹MySQL中GROUP BY子句的使用

    簡單介紹MySQL中GROUP BY子句的使用

    這篇文章主要介紹了簡單介紹MySQL中GROUP BY子句的使用,是MySQL入門學(xué)習(xí)中的基礎(chǔ)知識(shí),需要的朋友可以參考下
    2015-05-05
  • mysql安裝圖解總結(jié)

    mysql安裝圖解總結(jié)

    本篇文章給大家總結(jié)了在各種電腦環(huán)境系統(tǒng)下安裝MYSQL的圖解過程,以及遇到問題后的解決辦法。
    2018-06-06
  • mysql如何將表結(jié)構(gòu)導(dǎo)出到excel

    mysql如何將表結(jié)構(gòu)導(dǎo)出到excel

    這篇文章主要介紹了mysql如何將表結(jié)構(gòu)導(dǎo)出到excel,幫助大家更好的理解和使用MySQL數(shù)據(jù)庫,感興趣的朋友可以了解下
    2020-09-09
  • mysql日期date型和int型互換的方法

    mysql日期date型和int型互換的方法

    下面小編就為大家?guī)硪黄猰ysql日期date型和int型互換的方法。小編覺得挺不錯(cuò)的,現(xiàn)在就分享給大家,也給大家做個(gè)參考。一起跟隨小編過來看看吧
    2016-10-10

最新評論

济宁市| 奎屯市| 武宣县| 津市市| 肥城市| 余干县| 保康县| 东安县| 莱西市| 沙河市| 沙坪坝区| 宜黄县| 克山县| 呼图壁县| 资兴市| 通渭县| 东兰县| 益阳市| 广平县| 河池市| 石泉县| 府谷县| 屏南县| 达日县| 苍溪县| 凤冈县| 伊金霍洛旗| 翼城县| 延寿县| 尼木县| 米易县| 延津县| 札达县| 会理县| 祁阳县| 溧阳市| 逊克县| 许昌市| 灵宝市| 尚志市| 澳门|