Client does not support authentication protocol问题解决办法
来源:互联网 发布:python爬虫教程 chm 编辑:程序博客网 时间:2024/04/29 04:19
mysql4.1以上版本连接时出现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;
上面红色的部分请按自己实际情况修改....
这样做后,连接就会正常了@!
另查询版本的方法:mysql->select version();
- Client does not support authentication protocol问题解决办法
- Client does not support authentication protocol问题解决办法
- Client does not support authentication protocol问题解决办法
- does not support authentication protocol问题解决办法
- mysql4.1以上版本连接时出现Client does not support authentication protocol问题解决办法
- mysql4.1以上版本连接时出现Client does not support authentication protocol问题解决办法
- mysql4.1版本连接时出现Client does not support authentication protocol问题解决办法
- mysql4.1以上版本连接时出现Client does not support authentication protocol问题解决办法
- Mysql连接时出现Client does not support authentication protocol问题解决办法
- Client does not support authentication protocol
- Client does not support authentication protocol
- Client does not support authentication protocol requested
- Client does not support authentication protocol
- mysql4.1以上版本连接时出现Client does not support authentication protocol #1251错误问题解决办法
- mysql4.1以上版本连接时出现Client does not support authentication protocol #1251错误问题解决办法
- [MySQL] Client does not support authentication protocol的解决
- mysql connect Error,Client does not support authentication protocol requested
- Client does not support authentication protocol requested by server: MYSQL
- 龙书笔记(5)
- ComboBox控件的SelectionChanged事件的初始化
- 【代码备忘】阻塞执行程序、获取文件图标
- DPDK学习记录
- TCP状态变迁(18章)
- Client does not support authentication protocol问题解决办法
- 第四章例题练习
- SqlServer之连接
- Win7及其他系统下,VS2008,SQL 2008及Office 2007安装顺序及序列号
- 使用python进行windows自动化测试
- 第五章作业。
- 汉诺塔的非递归算法
- Openlayers 开发时,使用GWC地图时Overviewmap不出图的解决办法
- PyHook