位置: 编程技术 - 正文

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

  • 个人所得税汇算清缴截止日期
  • 企业困难有哪些
  • 个税走什么科目
  • 计提生产车间工人和车间管理人员工资
  • 劳动合同和劳务合同有什么区别 举例
  • 个人所得税报税孩子的夫妻双方都报吗
  • 小规模纳税人免征增值税政策
  • 电子产品配件批发市场
  • 个税手续费返还会计分录
  • 办理外汇账户开户手续
  • 计提的工会经费怎么做账
  • 银行承兑汇票怎么填写
  • 收到投资担保公司的担保费发票的账务处理
  • 出口企业如何做锁汇
  • 公司租个人车辆如何办理
  • 作为一名新手
  • 对外投资公司经营范围
  • 普通发票单张限额
  • 代扣代缴增值税如何申报抵扣
  • 微信支付宝余额为零的表情包
  • 税务定率征收
  • 螺丝计入什么费用
  • 在win7系统中文件属性有哪些
  • php cookie 登录
  • 如何区分货币财富和收入
  • 其他业务收入跨年调整
  • 收取逾期包装物押金怎么算税
  • php-mysql安装
  • 车辆购置税相关知识
  • 海浪冲击着海岸
  • 加里西亚省
  • 在草地上吃零食叫什么
  • 月底库存现金不足怎么办
  • 发生的计提费用没有发生怎么办
  • php获取随机数
  • 无形资产有进项税吗
  • 会计等式反映了六大会计要素的恒等关系
  • uniapp scroll-view基础用法
  • php 接口
  • lvs命令详解
  • 其他应付款包括应付股利和应付利息吗
  • 财务报表报送与信息采集(小企业会计准则)季报
  • 金税盘减免税额
  • 开具培训类发票需要哪些条件?
  • wp留言板插件
  • 物流公司进项包括什么
  • 商业汇票贴现时间轴
  • 工资单应该盖什么章
  • 公司收取保证金合法吗
  • 折旧方法有哪些英文
  • 销售边角料税率是多少
  • 预收款收入确认
  • 研发费用允许加计扣除的标准
  • 预收账款和预付账款怎么理解
  • 绿化工程苗木成活率交工标准
  • 一般纳税人支付房租账务处理
  • 企业缴纳社保费包括企业部分和个人部分
  • sql去除指定数据
  • mysim和innodb
  • sqlserver获取当天零点时间
  • FreeBSD 6.2-RELEASE下载
  • 怎么提升命令提示符
  • linux动态库的制作
  • centos7脚本
  • win8点击桌面没反应
  • 检测电脑屏幕
  • win8怎么安装微信
  • window8设置ip
  • 退出清理磁盘
  • win8如何进入高级启动项模式
  • 构造函数中super()的作用
  • windows配额
  • uv纹理编辑器贴图移动
  • 安卓大作业小游戏五子棋
  • canvas+javascript
  • jQuery之简单的表单验证实例
  • 中国进口国外品牌排行榜
  • 国税局和税务局哪个级别高
  • 12366属于哪个部门
  • 印花税为什么不计入资产成本
  • 免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

    鄂ICP备2023003026号

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

    友情链接: 武汉网站建设