Client does not support authentication protocol requested by server; consider upgrading MySQL client
2016-09-20 16:01
591 查看
环境如下:
邮件系统原来的mysql server版本是3.23。
现在使用了mysql server 5.0.7版本,而且单独部署到了一台服务器上。
使用邮件的认证程序udd去访问远程的mysql server 5.0.7。
出现下面的报错:
Sep 20 15:10:53 2016 PID=16613 TID=4151281344 : mysql_client.c db_mysql_init()(68) mysql_real_connect failed: host=172.18.131.14|port=33060, Error: Client does not support authentication protocol requested by server; consider upgrading MySQL client
分析原因:是mysql server 5.0.7版本的password算法和mysql server 3.23的不一致,导致邮件认证程序udd使用原来的认证算法失败。
解决办法:在修改新版mysql server 5.0.7中使用old_password();函数来重新生成密码,这样使用旧版mysql口令访问的程序udd就可以正常访问了。
mysql>SET PASSWORD FOR 'root'@'localhost' = OLD_PASSWORD('newpassword');
mysql> flush priviledges;
重启mysqld服务,重新测试邮件的udd程序可以正常访问了。
邮件系统原来的mysql server版本是3.23。
现在使用了mysql server 5.0.7版本,而且单独部署到了一台服务器上。
使用邮件的认证程序udd去访问远程的mysql server 5.0.7。
出现下面的报错:
Sep 20 15:10:53 2016 PID=16613 TID=4151281344 : mysql_client.c db_mysql_init()(68) mysql_real_connect failed: host=172.18.131.14|port=33060, Error: Client does not support authentication protocol requested by server; consider upgrading MySQL client
分析原因:是mysql server 5.0.7版本的password算法和mysql server 3.23的不一致,导致邮件认证程序udd使用原来的认证算法失败。
解决办法:在修改新版mysql server 5.0.7中使用old_password();函数来重新生成密码,这样使用旧版mysql口令访问的程序udd就可以正常访问了。
mysql>SET PASSWORD FOR 'root'@'localhost' = OLD_PASSWORD('newpassword');
mysql> flush priviledges;
重启mysqld服务,重新测试邮件的udd程序可以正常访问了。
相关文章推荐
- Mysql 连接提示 Client does not support authentication protocol requested by server; consider upgrading MySQL client 解决方法
- #1251 - Client does not support authentication protocol requested by server; consider upgrading MySQL client
- Client does not support authentication protocol requested by server; consider upgrading MySQL client
- Client does not support authentication protocol requested by server; consider upgrading MySQL Client
- 烦人的问题:Client does not support authentication protocol requested by server; consider upgrading MySQL client
- MYSQL 新版出现" Client does not support authentication protocol requested by server; consider upgrading MySQL client"解决办法
- PHPMYADMIN: #1251 - Client does not support authentication protocol requested by server; consider upgrading MySQL client
- Client does not support authentication protocol requested by server; consider upgrading MySQL client
- #1251 - Client does not support authentication protocol requested by server; consider upgrading MySQL client
- 错误(Client does not support authentication protocol requested by server; consider upgrading MySQL client)?
- [MySQL][ODBC 3.51 Driver]Client does not support authentication protocol requested by server; consider upgrading MySQL client
- linux解决:Client does not support authentication protocol requested by server; consider upgrading MySQ
- MYSQL 错误:Client does not support authentication protocol requested by server;
- 新版Mysql密码算法不同导致“Client does not support authentication protocol requested by server”错误
- Mysql 4以上版本密码算法不同导致“Client does not support authentication protocol requested by server”错误
- MYSQL新版出现"Clientdoesnotsupportauthenticationprotocolrequestedbyserver;consi
- [转帖]MYSQL升级导致的"Client does not support authentication protocol requested by server"
- Client does not support authentication protocol requested by server: MYSQL
- 错误MySQL 返回: #1251 - Client does not support authentication protocol requested by server
- MySQL 版本错误处理(Client does not support authentication protocol requested by server)