亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频

mysql4.1以上版本連接時出現(xiàn)Client does not support authentication protocol問題解決辦法

 更新時間:2007年03月15日 00:00:00   作者:  
mysql4.1以上版本連接時出現(xiàn)Client does not support authentication protocol問題解決辦法  
shell> mysql 
Client does not support authentication protocol requested 
by server; consider upgrading MySQL client 

官方的說法是 
MySQL 4.1 and up uses an authentication protocol based on a password hashing algorithm that is incompatible with that used by older clients. ..... 


如果你升級mysql到4.1以上版本后遇到以上問題,請先確定你的mysql client 是4.1或者更高版本.(WINDOWS下有問題你就直接跳到下面看解決方法了,因為MYSQL 在WINDOWS是client和server一起裝上了的) 
請使用以下兩種方法之一 
其一: 
mysql> SET PASSWORD FOR 
    -> 'some_user'@'some_host' = OLD_PASSWORD('newpwd'); 
其二: 
mysql> UPDATE mysql.user SET Password = OLD_PASSWORD('newpwd') 
    -> WHERE Host = 'some_host' AND User = 'some_user'; 
mysql> FLUSH PRIVILEGES; 

上面紅色的部分請按自己實際情況修改.... 
這樣做后,連接就會正常了@!

相關(guān)文章

最新評論