1. 程式人生 > >mysql5.7密碼過期ERROR 1862 (HY000): Your password has expired. To log in you must change

mysql5.7密碼過期ERROR 1862 (HY000): Your password has expired. To log in you must change

環境:

Centos 6.5   mysql5.7

一、mysql5.7 密碼過期問題

報錯:

ERROR 1862 (HY000): Your password has expired. To log in you must change it using a client that supports expired passwords.

翻譯:

錯誤1862(HY000):你的密碼已經過期。登入必須改變它使用一個客戶端,支援過期的密碼。

解決方法:

1、 用忽略授權表的方法進入mysql 

1 2 3 4 vi /etc/my.cnf       [mysqld]       skip-grant-tables       :wq! #儲存退出

2、進入mysql,檢視root使用者的詳細資訊

1 2 3 # mysql -u root -p > use mysql select from mysql.user where user='root' \G
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36

相關推薦

mysql5.7密碼過期ERROR 1862 (HY000): Your password has expired. To log in you must change

環境: Centos 6.5   mysql5.7 一、mysql5.7 密碼過期問題 報錯: ERROR 1862 (HY000): Your password has expired. To log in you must change

mysql5.7密碼過期ERROR 1862 (HY000): Your password has expired. To log in you must chang

一、mysql5.7 密碼過期問題 報錯: ERROR 1862 (HY000): Your password has expired. To log in you must change it using a client that supports expired passwords.

mysql5.7.24啟動報錯:ERROR 1862 (HY000): Your password has expired. To log in you must change it using a client that supports expired passwords.

報錯原因是:密碼過期。不管你是剛剛修改密碼還是什麼,只要登陸都是有問題的,都是報這樣子的錯誤。 解決方法是: 1、修改/etc/my.cnf檔案,在[mysqld]下加入“skip-grant-tables”。 2、重啟mysql伺服器 3、登陸mysql [[email prote

ERROR 1862 (HY000): Your password has expired. To log in you must change it using a client that supp

解決辦法: 先通過跳過授權表的方式啟動資料庫: mysqld_safe --user=mysql--datadir=/data/mysql --skip-grant-tables --skip-networking & 這樣就可以免密碼登入了。 然後修改該使用者密

mac安裝mysql5.7 Your password has expired. To log in you must change it using a cl...

問題描述:Your password has expired. To log in you must change it using a client that supports expired passwords. 解決辦法:root許可權登入mysql:mysql -uroot

MySQL5.7出現Your password has expired. To log in you must change it using a client that supports expir

簡介 今天晚上本來想寫bootstrap-fileinput外掛整合fastdfs的文章,但是剛啟動idea裡面的QiYuAdmin就出現了錯誤: Your password has expired. To log in you must change it

【MySQL】MySQL 5.7 "Your password has expired.To log in you must change it using a client that suppor"

解決辦法1:更新密碼: set password=password('password'); 解決辦法2:禁用密碼有效期 ALTER USER 'root'@localhost' PASSWORD EXPIRE INTERVAL 90 DAYS; ALTER USER

java.sql.SQLException: Your password has expired. To log in you must change it using a client that s

java.sql.SQLException: Your password has expired.To log in you must change it using a client that supports expired passwords. com.mysql.jdbc.exceptions.j

Your password has expired. To log in you must change it using a client that supports expired passwor

開啟 命令列 /usr/local/mysql/bin/mysqladmin -u root -p password 提示輸入按照後的那個密碼 輸入完成後 提示輸入新的密碼 Enter pass

MYSQL ERROR 1862 (HY000): Your password has expired.

遇到錯誤: ERROR 1862 (HY000): Your password has expired. To log in you must change it using a client that supports expired passwords. 原因是: M

MySQL錯誤號碼1862your password has expired

因為是好久沒有用mysql,然後隔了三個多月再次登入就出現了以上問題,嗯嗯,從來不太會用命令列的我,在QQ群裡求助,最終迷迷糊糊的解決了。。。。反正記錄一下希望對大家有幫助吧,我到現在也迷迷糊糊的。 我是win8的系統。 1):win+R,執行裡輸入services.m

xcode 無法登陸,新增APPID提示 your session has expired please log in的問題

情況是這樣的: 我上傳APP的時候,跳出來輸入使用者和密碼。輸入進去之後,提示 your session has expired please log in。 百度之後說帳號重新登陸一下就可以了,但我的不行。 百度又說了,去改一下密碼重新登陸一下,好吧,去蘋果開發中心的網站

mysql5.7設置簡單密碼報錯ERROR 1819 (HY000): Your password

大寫字母 variable 最小 修改 ase 有關 cal sele 小寫字母 【問題】 有時候,只是為了自己測試,不想密碼設置得那麽復雜,譬如只想設置root的密碼為123456。 SET PASSWORD FOR ‘root‘@‘localhost‘ = PASSWO

mysql5.7設定簡單密碼報錯ERROR 1819 (HY000): Your password does not satisfy the current policy requirements

【問題】有時候,只是為了自己測試,不想密碼設定得那麼複雜,譬如只想設定root的密碼為123456。SET PASSWORD FOR 'root'@'localhost' = PASSWORD('123456');但是會報錯:mysql> SET PASSWORD FOR 'root'@'localho

mysql5.7 ERROR 1819 (HY000): Your password does not satisfy the current policy requirements

mysql5.7初次登入使用提示 ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement. 需要重置密碼。。。 重置就重置吧,我日結果又說我密碼

mysql5.7 ERROR 1819 (HY000): Your password does not satisfy the current policy requirements

clas 必須 lte ror edi ted roo 數字 修改 mysql5.7初次登錄使用提示 ERROR 1820 (HY000): You must reset your password using ALTER USER statement before ex

安裝MySQL5.6新建使用者並建立密碼時總是提示密碼不符合要求:ERROR 1819 (HY000): Your password does NOT satisfy the CURRENT

檢視得知,原來MySQL5.6.6增加了密碼強度驗證外掛validate_password,相關引數設定的較為嚴格,所以…… 使用了該外掛會檢查設定的密碼是否符合當前設定的強度規則,若不滿足則拒絕設定。影響的語句和函式有:create user,grant,set password,password()

mysql錯誤詳解(1819):ERROR 1819 (HY000): Your password does not satisfy the current policy requirements

ERROR 1819 (HY000): Your password does not satisfy the current policy requirements 今天新安裝了一個mysql5.7,想自己修改一個新密碼,結果總是出現1819這個錯誤,後面查了一

ERROR 1819 (HY000): Your password does not satisfy the current policy requirements

為了加強安全性,MySQL5.7為root使用者隨機生成了一個密碼,在error log中,關於error log的位置,如果安裝的是RPM包,則預設是/var/log/mysqld.log。 一般可通過log_error設定 mysql> select @@log_error; +-----

sqoop連線mysql提示Your password has expired

使用sqoop連線mysql5.7出現錯誤: Your password has expired. To log in you must change it using a client that supports expired passwords 意思大致是說密碼過期,進入Mysq