位置: 编程技术 - 正文

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

  • 应交个人所得税在借方是什么意思
  • 工商年报纳税总额包括哪些税
  • 劳务工资入什么科目
  • 行政事业单位无偿调拨资产会计处理
  • 高新技术企业认证都有哪些条件
  • 原材料的归集和整理
  • 小规模纳税人消费税怎么计算
  • 进口设备贴息政策2019
  • 物流 贷款
  • 出差报销单可以委托他人签字吗
  • 促销费属于哪个税目
  • 企业预缴多交税了如何申请退税
  • 支票能够拿来付款吗
  • 一般纳税人企业所得税政策最新2023
  • 资产总额是资产负债表中的哪个数
  • 代开的普通发票如何盖章?
  • 房子转租扣钱吗
  • 取得失控发票
  • 关于工程施工的劳动法规
  • 如何在win10桌面上显示时钟
  • win11多开
  • win7使用小技巧
  • 生产提供什么产品
  • win11怎么打开设置
  • PHP:sys_getloadavg()的用法_misc函数
  • PHP:pcntl_fork()的用法_PCNTL函数
  • 购入无形资产的增值税税率
  • php echo语句
  • 货物发生非正常损失为什么要做j进项转出
  • 堡垒封印
  • postman操作流程
  • react中路由有哪些常用组件
  • 简易计税适用什么类型企业
  • javaweb:jquery中ajax的应用
  • 法人为什么不能领取失业金
  • 微众银行贷款利率2023最新
  • 销售免税农产品如何开票
  • 为什么营业成本比营业收入大的时候没有计提减值准备呢
  • ubuntu下使用SQLite3的基本命令
  • phpcms任意文件上传
  • 扣缴义务人如何登录电子税务局
  • 计提印花税会计
  • 客户多付的货款 不用退回 进营业外收入吗
  • 制造费用怎么摊销到成本?
  • 追索权定义
  • 固定资产清理是资产类的备抵科目吗
  • 劳保用品专卖
  • 收到知识产权服务费入什么科目
  • 研发费用辅助账模板 税务局
  • 总公司中标走子公司账户违法吗
  • 增加个税信息怎么增加
  • 成本会计主要做什么工作
  • 年初要新建帐套吗
  • 编程经验点滴怎么写
  • mysql数据库的使用
  • ubuntu help
  • windows查找命令
  • windows查询
  • windowsxp怎么开机
  • linux jack
  • centos获取权限
  • win10app商店
  • 如何查看激活日期苹果
  • win10周年版
  • zlib是什么意思
  • 简单谈谈对中国电信的认识
  • data.table
  • 黑白棋手机游戏
  • div自动适应宽度
  • nodejs python交互
  • jquery.inarray
  • python中如何获取列表中位数
  • asyncio 的 coroutine对象 与 Future对象使用指南
  • python中私有函数调用方法解密
  • 如何理解python语言
  • 税务局的人工资多少
  • 企业欠税补交后影响贷款吗
  • 个人所得税年申报与月申报区别
  • 宜昌市西陵区国税局局长
  • 道路坡度最大限度不超过多少度
  • 免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

    鄂ICP备2023003026号

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

    友情链接: 武汉网站建设