位置: 编程技术 - 正文

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

  • 税务师考试咨询电话
  • 年报的资产负债率在哪里
  • 服务费可以计入办公费吗
  • 事业单位装修费用
  • 建筑劳务公司开劳务发票税率是多少
  • 总分机构汇算清缴成功后还需要填表什么报表
  • 商贸流通企业包括哪些
  • 被财政收回的财政经费如何做财务处理?
  • 装订凭证要如何写
  • 销售商品确认收入的时间
  • 怎么给个体户开电子发票
  • 民办非企业单位是私立还是公立
  • 公司租赁厂房开几个点发票
  • 电商平台小规模纳税标准
  • 会议费税前扣除标准2021
  • 健身房会计一般做什么
  • 增值税税控系统专用设备
  • 包工包料的工程怎么做账
  • 公户以借款形式打款给个人,对个人有影响么?
  • 增值税专用发票有效期是多长时间
  • 电子发票作废怎么做
  • 进项税额转出会计分录月末如何结转
  • 工会经费的优惠政策2020
  • 出租房产免收租金合法吗
  • 怎么处理有问题的货物
  • 本月无收入怎样申报?
  • 扣供应商的税点应该包括附加税吗
  • 电脑不支持windows 11
  • windows10如何添加英文输入法
  • win10插usb没有反应
  • 本月未抵扣完的进项税是否转出
  • php中的include
  • php循环语句
  • 无法将node项识别为
  • 空调年折旧率
  • 折旧和摊销的区别通俗
  • 以银行存款支付业务招待费
  • 达摩院 2021
  • 纯HTML+CSS小兔鲜儿网站首页(静态网页)
  • 涂料消费税征税范围
  • mongodb使用场景总结
  • 个体户跨季领取发票流程
  • 税盘抵扣怎么做分录
  • 员工工资可以当月计提当月发放吗
  • 小微企业是怎样自己认定的呢
  • 小规模差额征税的账务处理
  • 运输中合理损耗计入什么科目
  • 查询发票真伪
  • 境内企业借外债,不还会怎么样
  • 个人工资税收怎么计算年收入
  • 支票存根联丢失可以用回单代替么
  • 差旅费的进项税额需要转出吗
  • 对存在标的资产的亏损合同,企业应首先对标的资产
  • 主营业务收入净额指的是什么
  • 员工垫付的费用会计分录
  • 进项税额转出的几种情况
  • 去年的凭证今年未入账
  • mysql存储过程菜鸟教程
  • sql server常用管理工具中,用于访问
  • windows延缓写入失败怎么修复
  • solaris 安装
  • 重庆四日游最佳攻略超详细
  • 怎么关闭windows更新提示
  • quickres.exe - quickres是什么进程 作用是什么
  • window7iis配置步骤
  • win8系统怎么设置无线网连接啊
  • javascript中的函数
  • Cocos2d-x之getVisibleSize,getContentSize,boundingBox,getContentSizeInPixels,convertToGL,convertToUI
  • margin使用
  • javascript高级程序设计电子书
  • 安卓端数据库
  • angularjs删除数组元素
  • 菜鸟100例python3
  • 使用BMFont+NGUI利用图片制作自定义字体
  • linux中安装python的工具包
  • 东莞地税电话号码
  • 浙江宁波江北区都有哪些大学?
  • 办公厅机构设置方案
  • 个人所得税法全文完整版2021实施细则
  • 国税申报作废怎么操作
  • 免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

    鄂ICP备2023003026号

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

    友情链接: 武汉网站建设