位置: 编程技术 - 正文

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密码忘记的解决方法(好用的测试工具)

  • 个税退回怎么申请
  • 企业所得税是什么意思大白话
  • 增值税进项税是多少
  • 手机上税票怎么开
  • 同一家单位发票不一样
  • 办公室租金发票可以扺军品企业增值税吗
  • 建筑企业利润率低的原因
  • 企业管理费可以扣除吗
  • 购买土地契税和印花税什么时候交
  • 房地产结转收入是什么意思
  • 委托加工物资加工完毕验收入库后作为
  • 补计提上一年度费用
  • 可供出售金融资产包括哪些内容
  • 企业购买用于绿化的土地
  • 4s店试驾车转卖怎么开票
  • 购进租赁设备分录
  • 购买户外用品的app
  • 餐饮发票可以抵扣成本吗
  • 增值税发票的帐号怎么查
  • 商品流通企业会计零售业务核算
  • 网络工程完工后干什么
  • 免征的税额当月计入营业外收入吗
  • 对公账户转账有延迟吗
  • 代购买东西流程
  • 购进原材料科目
  • configureandwatch
  • win7操作系统激活
  • 无形资产如何评估作价
  • php测试成功的邮件是什么
  • 修改系统帐户用什么软件
  • ipssvc.exe - ipssvc是什么进程 有什么作用
  • php创建文件夹和文件
  • 手机苹果14
  • php常用的魔术方法有哪些
  • chormedriver安装
  • 最新大麦抢票脚本
  • 杜拉通河谷中的Nuestra Señora de la Hoz老修道院,西班牙塞哥维亚 (© Arco Images GmbH/Alamy)
  • 支付的食堂费用怎么入账
  • 购买支票费用计入
  • 【深度学习笔记】特征融合concat和add的区别
  • 猿创设计科技有限公司
  • 遮天传贴吧
  • php怎么调用图片
  • php fopen函数的用法
  • DedeCMS V5.7 SP2前台文件上传漏洞
  • 免增值税项目可以抵扣吗
  • 会员卡怎样批量生成
  • 小规模纳税人1%税率优惠政策
  • 支付运费的会计怎么记录运输费
  • 小规模纳税人是查账征收还是核定征收
  • 劳务公司可以用工资表做成本
  • 银行怎么划分标准
  • 出口退税如何做进料核销凭证
  • 政府会计工资代扣工会会费
  • 外购货物分配给股东
  • 广告制作需要交文化事业建设税
  • 私营企业固定资产折旧
  • 会计的职务是什么意思
  • mysql的基本操作语句
  • Cont()与Where().Count()有时性能差别如此之大!
  • winxp修改ip地址方法
  • SMax4.exe - SMax4是什么进程
  • macos 音量快捷键
  • linux 数据恢复
  • 微软windows10正版
  • cocos2dx schedule
  • linux安装xen
  • unity3d 物体移动
  • Node.js中的事件循环是什么
  • js获取浏览器类型和版本信息
  • &&在js中
  • 可交互原型是什么
  • javascript学习指南
  • python生成器send
  • python3 tkinter
  • 北京税务局网站
  • 事前监督的名词解释
  • 香水类香精应该具备什么条件
  • 契税为什么要补贴
  • 现在买新车都需要交什么费用
  • 免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

    鄂ICP备2023003026号

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

    友情链接: 武汉网站建设