1251 - Client does not support authentication protocol requested by server; consider upgrading MySQL client\"的解決方法
有人用這個(gè)軟件嗎?MySQL-Front /mysql/ 我在用root帳戶連接mysql數(shù)據(jù)庫(kù)時(shí)提示有錯(cuò)誤如下:1251 - Client does not support authentication protocol requested by server; consider upgrading MySQL client 我的數(shù)據(jù)庫(kù)是可以用。但匿名帳戶卻可以連接
--------------------------------------------------------------- 在更新到 4.1.17 版本的 MySQL 后,發(fā)現(xiàn)需要使用 MySQLi 擴(kuò)展方能正常使用數(shù)據(jù)庫(kù),否則會(huì)出現(xiàn) 1251 - Client does not support authentication protocol requested by server; consider upgrading MySQL client 的提示,這個(gè)很納悶,我沒(méi)有研究具體的問(wèn)題,只是切換到 MySQLi 擴(kuò)展,其實(shí)在給 root 加上密碼前還是可以使用 MySQL 擴(kuò)展的,可是給 root 加上密碼后就出現(xiàn)了上述客戶端版本太低的提示。
目前已知解決方法:
先用root登錄MYSQL服務(wù)器,執(zhí)行
mysql>set password for user1@"localhost"=old_password(‘yourPassword‘);