位置: 编程技术 - 正文

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

  • 来料加工与进料加工的相似之处有
  • 注销库存股为什么股本减少
  • 超市小票能否入库
  • 食用油交不交消费税
  • 餐饮业成本的正确表述是
  • 利息调整的计算公式
  • 机票行程单上没有日期怎么回事
  • 生产能量计入固定成本
  • 应付余额是负数怎么理解
  • 本地的住宿费怎么交
  • 道路货物运输服务可以加计扣除吗
  • 原材料的运输
  • 代扣代缴个人所得税手续费是否缴纳增值税
  • 资产负债表越来越少了是怎么回事
  • 虚开发票对所得税的影响是怎样的?
  • 物业公司代收水费合理吗
  • 汽车中介赚钱吗
  • 进口海运费增值税发票 抵扣
  • 发票丢失登报声明怎么写
  • 1697508513
  • 当月认证的发票当月一定要入账吗
  • 季度报税过了怎么办
  • 去银行打印公户流水需要带什么
  • 国企承接政府项目
  • 生产车间的各种费用
  • 服务业缴税
  • 在win7中,如何搜索指定扩展名的文件
  • php去除二维数组重复值
  • php数组函数输出《咏雪》里有多少"片"字
  • PHP:pg_consume_input()的用法_PostgreSQL函数
  • 转让无形资产使用权和所有权的区别
  • 预付款发票不能回来了怎么处理
  • php写post接口
  • 赡养老人专项扣除标准
  • js字符串转换为数字类型
  • vue如何使用axios
  • web前端视频教程全套
  • push指令执行的详细过程
  • php 自动加载类
  • 城镇土地使用税优惠政策
  • 城市维护建设税属于什么会计科目
  • 预提财务费用
  • 涉及无形资产的会计处理
  • 其他收益和其他综合收益区别
  • 固定资产发票未到可以确认固定资产吗
  • 企业计提增值税怎么写
  • 其他应付款是否能大于收入
  • 企业有生产单没发票
  • 工业企业应付账款怎么算
  • 怎么在电脑上设置快捷图标
  • win7怎样安装摄像头驱动
  • centos7创建swap分区
  • solaris ip配置
  • xp系统无法更换桌面壁纸
  • appservicesdkscripterror
  • diskgenius_winpe文件夹能删吗
  • macbookair文档怎么变成word
  • linux root用户登陆
  • windows7 cpu使用率高
  • linux 多线程 写文件
  • windows8ip地址怎么设置
  • ghost参数设置
  • cocos2dx怎么安装
  • jquery 定位
  • unity socket udp
  • JavaScript驾驭网页-DOM
  • shell的case语法
  • python获取本地路径
  • android开发最全教程
  • ug编程代码意思
  • unity 3d online document
  • unity怎么添加ui界面图片
  • python语言的特殊符号
  • bootstrap js插件
  • jquery22插件网
  • 个体加油站税务怎么申报
  • 捐赠收入如何交印花税
  • 稳岗补贴是否需在企业所得税汇算时调增
  • 进项税和销项税怎么抵扣举例说明
  • 城市维护建设税怎么算
  • 免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

    鄂ICP备2023003026号

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

    友情链接: 武汉网站建设