mysql4.1以上版本连接时出现Client does not support authentication protocol问题解决办法
2004-11-23 11:44
1336 查看
http://www.ipbfans.org/index.php?q=node/38
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 -> '' = OLD_PASSWORD(''); 其二:mysql> UPDATE mysql.user SET Password = OLD_PASSWORD('') -> WHERE Host = '' AND User = '; mysql> FLUSH PRIVILEGES; 上面红色的部分请按自己实际情况修改.... 这样做后,连接就会正常了@! |
相关文章推荐
- MySql实现简单的注册登录(易语言)
- ISA Server 的故障排除工具(2)
- Windows Powershell创建对象
- SQL Server 索引结构及其使用(一)--深入浅出理解索引结构第1/4页
- 详解mysql索引总结----mysql索引类型以及创建
- 在php和MySql中计算时间差的方法详解
- 千年零一虫
- PHP 的 MySQL 操作类,跟手册上的函数一样用,但是更方便了。多说无益,看了就知道了。
- 独具量身定做特色的管理软件--数据大师
- oracle中的分页
- delphi中的时间操作技术(2)
- Ghost V8.0 使用详解
- 獲取SQL SERVER用戶表信息游標
- sql server7.0数据库恢复
- 越过调试这道槛——ASP.NET无法调试问题剖析
- 移植到 Windows 2000 和 COM+
- redhat 9下配置APACHE2.0.50+PHP5+MYSQL4.0.20+GD库