位置: 编程技术 - 正文

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

  • 账面成本包含增值税吗
  • 主营业务收入科目按其所反映的经济内容不同
  • 委托加工物资的会计科目
  • 购买银行理财产品的几个必须知道
  • 个体户城市维护建设税减免性质
  • 进料加工余料结转可以跨年吗
  • 资产负债表中应收账款
  • 高新企业收到政府补贴会计分录
  • 销售商品提供劳务收到的现金包括
  • 资产负债表应付账款怎么算
  • 个人车卖给公司能抵税吗
  • 企业汇算清缴时允许税前扣除的工资是什么
  • 增值税普通发票和普通发票的区别怎么交税
  • 交印花税需要身份证吗
  • 用党委经费买的固定资产如何计提?
  • 入库出库模板
  • 营改增账务处理实例
  • 准予扣除的工会经费怎么算
  • 小规模纳税人工程服务的增值税率
  • 超市开发票要交百分之几的税?
  • 核定征收的企业需要做账吗
  • 企业出租包装物收取的押金应通过其他应收款账户核算
  • 一次性劳务费需要交税吗
  • 申报个税按计提工资还是实际发放
  • 招待费进项税额转出在申报表
  • 退回的费用如何入账
  • 如何用python查数据
  • 半成品加工费计入什么科目
  • 企业间借款增值税怎么算
  • 加油站的成品油经营许可证过期3个月还能换证吗?
  • php数字转换大写
  • ajax调用php函数
  • 如何弥补以前年假的问题
  • 支付给员工的工伤赔偿款账务
  • 前端项目部署到nginx
  • 事业单位长期应付款挂账处理规定
  • 什么是长期股权投资法
  • yii框架连接数据库
  • 税款入库期是什么意思
  • 机器视觉 machine
  • ps中分辨率
  • 图书发行员证书在哪里办理
  • 连通函数
  • 购买备用品会计分录
  • dedecms下载
  • 政府向企业发放用工补贴政策
  • 资产减值损失如何计算
  • 存货跌价准备是谁的备抵账户
  • 建筑工程机械设备租赁属于什么行业
  • 不动产租赁可以享受加计抵减吗
  • 法院拍卖得来的物品有发票吗
  • 房地产项目开发的基本流程是什么
  • 支付补偿款计入什么会计科目
  • 实收资本挂在其他应收款现在股权转让
  • 进项税销项税分录
  • 承兑汇票可以买卖吗?
  • 凭证过账的步骤
  • 账户验证费会计分录
  • 多张不同固定资产卡片可汇总生成一张固定资产凭证
  • windows无法
  • WINDOWS操作系统支持的文件系统主要有三种类型
  • windows7磁盘管理
  • window预览
  • xp事件管理器
  • win8.1使用教程
  • hyper虚拟机连接外网
  • linux操作系统入门教程
  • win7浏览器怎么升级到最新版
  • computed缓存
  • 简单掌握办公软件怎么写
  • jquery.parsejson
  • 菜单下一章
  • js操作dom节点的方法
  • javascript教程完整版
  • 微软官方app
  • javascript教程chm
  • jquery.form.min.js
  • javascript test
  • 河南省教育厅纪检组举报电话
  • 调研报告与调研文章的区别
  • 免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

    鄂ICP备2023003026号

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

    友情链接: 武汉网站建设