linux1251端口,#1251 - Client does not support authentication问题解决!
官方的解释:
MySQL 4.1 and up uses an authentication protocol based on a password hashing algorithm that is incompatible with that used by older clients. If you upgrade the server to 4.1, attempts to connect to it with an older client may fail with the following message:
shell>; mysql
Client does not support authentication protocol requested
by server; consider upgrading MySQL client
To solve this problem, you should use one of the following approaches:
Upgrade all client programs to use a 4.1.1 or newer client library.
When connecting to the server with a pre-4.1 client program, use an account that still has a pre-4.1-style password.
Reset the password to pre-4.1 style for each user that needs to use a pre-4.1 client program. This can be done using the SET PASSWORD statement and the OLD_PASSWORD() function:
mysql>; SET PASSWORD FOR
->; 'some_user'@'some_host' = OLD_PASSWORD('newpwd');
alternatively, use update and FLUSH PRIVILEGES:
mysql>; update mysql.user SET Password = OLD_PASSWORD('newpwd')
->; where Host = 'some_host' AND User = 'some_user';
mysql>; FLUSH PRIVILEGES;
Substitute the password you want to use for ``newpwd'' in the preceding examples. MySQL cannot tell you what the original password was, so you'll need to pick a new one.
Tell the server to use the older password hashing algorithm:
Start mysqld with the --old-passwords option.
Assign an old-format password to each account that has had its password updated to the longer 4.1 format. You can identify these accounts with the following query:
mysql>; select Host, User, Password FROM mysql.user
->; where LENGTH(Password) >; 16;
For each account record displayed by the query, use the Host and User values and assign a password using the OLD_PASSWORD() function and either SET PASSWORD or update, as described earlier.
For additional background on password hashing and authentication, see Section 5.5.9, "Password Hashing in MySQL 4.1".
Previous / Next / Up / Table of Contents
阅读(533) | 评论(0) | 转发(0) |
linux1251端口,#1251 - Client does not support authentication问题解决!相关推荐
- Navicat 远程连接docker容器中的mysql 报错1251 - Client does not support authentication protocol 解决办法
Navicat 远程连接docker容器中的mysql 报错1251 - Client does not support authentication protocol 解决办法 1).容器中登录my ...
- “1251 – Client does not support authentication protocol requested by server;consider upgrading MySQL
本文由 比特飞 原创发布,欢迎大家踊跃转载. 转载请注明本文地址:"1251 – Client does not support authentication protocol reques ...
- Navcat:解决1251 client does not support authentication ...问题
出现问题如下: 解决方法: 1.查看用户信息 select host,user,plugin,authentication_string from mysql.user; 2.修改用户密码 更新use ...
- 终极解决navicat远程mysql8报错 1251 Client does not support authentication protocol requested by server
朋友使用mysql8,跟我讲不能远程了,看了一下,环境变量没配, MYSQL_HOME=mysql安装bin目录 PATH追加%MYSQL_HOME% 配了环境变量还不行 于是发现一个惊天大秘密 就是 ...
- 【MySQL】Navicat 连接数据库出现1251 - Client does not support ... 问题的解决方法及ERROR 1045 (28000): Access deni...
问题描述 1.Navicat 连接 MySQL时出现问题:1251 - client does not support authentication protocol requested by ser ...
- 【mysql】远程连接服务器数据库出现 Client does not support authentication protocol requested by server的解决方法
前言 之前已经配好了本地数据库与云服务器上的数据库的连接,也能正常进行操作.几个月后某天打开navicat想打开此连接却弹出了个错误提示窗口,显示Client does not support aut ...
- mysql8.0client_navicat 连接mysql8.0 报错client does not support authentication
navicat 连接mysql8.0 报错client does not support authentication,解决方法: 打开windows Powershell,输入以下命令 ,加红加粗的 ...
- Client does not support authentication protocol requested by server;
Navicat连接MySQL Server8.0版本时出现Client does not support authentication protocol requested by server:解决 ...
- Navcat:1251 client does not support ...问题
Navcat ,1251 client does not support ...问题 1.查看用户信息 select host,user,plugin,authentication_string fr ...
最新文章
- c# usercontrol ,networkcomms3.0 Invoke总结
- AI基础:Pandas简易入门
- VTK:可视化算法之LOxSeeds
- 【java】Charset 字符集
- db2 创建样本数据库_db2创建数据库
- 等额本息和等额本金,哪个还款方式更划算?
- java包 类 方法_Java中包与包之间方法的调用及其关键字区分(基础)
- 现代软件工程系列 学生的精彩文章 (2) 到底是谁的 bug?
- Windows Server 2008 R2 主域控制器委派DNS到子域控控制器
- 在ASP.NET 2.0中操作数据:使用FormView 的模板
- python怎么画小海龟_python画图之“小海龟”turtle
- 传承中华美德,关注中老年大健康,育润奶粉敬老情浓
- Jenkins linux 操作系统一键部署多节点
- 从苹果2015年春季发布会看移动互联网的发展
- 草图vr3.6许可证服务器安装失败,VRay3.6无法获得许可-200
- 测试用例设计-淘宝购物车,微信发红包
- unity可以直接转h5吗_Unity对H5小游戏开发的支持—Project Tiny
- 码支付源码完整版-安装环境配置
- html+css仿QQ邮箱静态界面
- 巴菲特:我可以发2100万个巴菲特币|附视频