位置: 编程技术 - 正文

MYSQL出现" Client does not support authentication "的解决方法(mysql出现箭头)

编辑:rootadmin
MYSQL 帮助:A.2.3 Client does not support authentication protocol

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> mysqlClient does not support authentication protocol requestedby 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) > ;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.

推荐整理分享MYSQL出现" Client does not support authentication "的解决方法(mysql出现箭头),希望有所帮助,仅作参考,欢迎阅读内容。

MYSQL出现" Client does not support authentication "的解决方法(mysql出现箭头)

文章相关热门搜索词:mysql is full,mysql出现箭头,Mysql出现由于一段时间没有正确答复,mysql提示,Mysql出现由于一段时间没有正确答复,Mysql出现由于一段时间没有正确答复,mysql出错,Mysql出现由于一段时间没有正确答复,内容如对您有帮助,希望把文章链接给更多的朋友!

经测试最好用的mysql密码忘记的解决方法 最好用的mysql密码忘记的解决方法,经过测试,如果不能成功一般是你的mysql运行的不正常解决办法:在windows下:打开命令行窗口,停止mysql服务:Netstop

MYSQL常用命令与实用技巧 一、连接MYSQL。格式:mysql-h主机地址-u用户名-p用户密码1、例1:连接到本机上的MYSQL。首先在打开DOS窗口,然后进入目录mysqlbin,再键入命令mysql-uroot-p

用mysqldump备份和恢复指定表的方法 mysqldump-uuser-pdbtab1tab2db.sql恢复mysql-uuser-pdbdb.sql参考:1.拷备文件:(保证数据库没有写操作(可以给表上锁定))直接拷贝文件不能移植到其它机器上,除非你

标签: mysql出现箭头

本文链接地址:https://www.jiuchutong.com/biancheng/319851.html 转载请保留说明!

上一篇:mYsql日期和时间函数不求人(mysql日期和时间分开存的 索引)

下一篇:经测试最好用的mysql密码忘记的解决方法(好用的测试工具)

  • 个体户定额超了怎么收费
  • 企业清算过程中发生的费用
  • 税务局报税怎么操作流程
  • 中国税务师协会税务师官网
  • 股权转让个人所得税如何计算
  • 企业变更法人的流程网上申请变更
  • 企业所得税计入什么费用
  • 费用报销哪些可以不用合同的
  • 社会团体所涉及的法律
  • 佣金开什么发票内容
  • 小规模收到房租专票进项做账分录
  • 以前年度损益调整结转到未分配利润
  • 机械租赁有哪些岗位
  • 复利现值和复利终值的计算
  • 含运费的原材料会计分录
  • 银行给企业的存款怎么存
  • 契税与印花税能抵扣吗
  • 行政机关作出下列行为属于行政复议的范围
  • 企业间借贷利息如何入账
  • 增票丢失怎么开完税证明
  • 营改增后营业外收入交增值税吗?
  • 适用简易计税方法的口诀
  • 增值税如何确认
  • 加计扣除汇算清缴怎么调减
  • 本期销售额未达起征点请将本期应纳税额
  • 母公司并购子公司需要股东会决议吗
  • 发票和实际业务发生时间不一致
  • 企业所缴税款能抵税吗
  • 当月未抵扣进项税在进项税额明细表怎么填
  • 电脑开机自动进入bios怎么解决
  • 如何正确使用储存卡
  • 企业预付保险费怎么做账
  • 工资上月计提多了,这个月怎么冲
  • 年末利润分录
  • 特立尼达和多巴哥
  • 离职后原单位不给开离职证明
  • php自定义表单系统
  • axios请求设置超时时间
  • reactvate
  • php处理接收的xml
  • 维修费成本怎么结转
  • linux中suid
  • node.js教程详细
  • php实现定时器
  • 累计预扣法的适用条件
  • 失业保险金支出项目14项
  • 帝国cms界面
  • js怎么执行函数
  • 即征即退增值税需要缴纳所得税吗
  • 工程物资月末必须结转吗
  • 佣金和其他费用
  • 小型微利企业预缴企业所得税怎么算
  • 现金日记账的登记规范及要求
  • 应付账款增值税如何挂账
  • 什么资产减值可以转回
  • 国家也通过国有企业利用自己的财政资金
  • 流动比率越高越好吗
  • sql server中的文件位置可以很灵活
  • 清空表内数据语句
  • 电脑收藏夹文件恢复
  • 直接玩鬼泣4
  • ubuntu14打开终端
  • linux如何学
  • 电脑关机没反应怎么办出现一个对话框
  • mac如何打开程序菜单
  • win7怎么查看
  • win8.1技巧
  • url是什么文件怎么打开
  • win7系统本地连接图标不见了
  • windows7无法继续安装
  • linux shell echo
  • python中的变量赋值
  • jquery设置自定义属性
  • Node.js中的construct构造函数
  • unity项目流程
  • javascript字符
  • UNITE 2015 TAIPEI 五大系列重要議題搶鮮看!
  • div-d和div-i
  • 履职提醒函与督办函区别
  • 教师资格证认定流程
  • 免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

    鄂ICP备2023003026号

    网站地图: 企业信息 工商信息 财税知识 网络常识 编程技术

    友情链接: 武汉网站建设