位置: 编程技术 - 正文

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

  • 山西省税务申报网站
  • 土地增值税与增值税
  • 疫情捐款收据有什么用吗
  • 非货币性资产交换补价大于25%的会计处理
  • 售后回购涉税处理
  • 广告公司对外捐赠的会计处理怎么做?
  • 写字楼出租流程
  • 核定征收是每个月都要交税吗
  • 贷款的印花税税率
  • 销售人员的销售总额怎么算
  • 增值税普通发票可以抵扣吗
  • 关于财产保险公司的论文
  • 核定征收的企业需要汇算清缴吗
  • sd标准差是什么意思
  • 建筑公司收取的劳务费和挂靠管理费有区别吗?
  • 单独计价入账的土地是固定资产吗
  • 物业公司的跨期收费如何确认收入?
  • 少收的货款怎么入账
  • 增值税预缴税款表项目编号是什么
  • 报表总收入
  • 设备修理费
  • 升级声卡驱动后声音禁用了怎么恢复
  • 企业注销时实收资本为0
  • 王者荣耀中李白第二次离开
  • 销售人员领用材料
  • 计提本月所得税费会计分录
  • 固定资产核销程序
  • 房地产开发公司组织架构
  • 和平之城
  • npp怎么安装
  • 原材料入库时如何计价
  • 中科院怎么赚钱
  • 麦地那老城
  • 正则表达式在线生成器
  • vue setstate
  • GCN经典论文笔记:Semi-Supervised Classification with Graph Convolutional Networks
  • 结转出口退税分录
  • python 虚拟环境
  • 网上学电脑的软件
  • java arraytolist
  • 金额太小不给开发票
  • 民非企业税金及附加是什么科目
  • 数据库平移
  • 预付账款的会计编码是多少?
  • 长期待摊费用账务处理包括哪两部分
  • 小规模纳税人现代服务税率
  • 出口企业出口退税流程
  • 印花税购销合同包括哪些
  • 利息收入填在汇算清缴哪里
  • 用友电子报表怎么生成
  • 什么是财产行为税举例
  • 库存商品结转成本是什么意思
  • 产业扶持资金账户是什么
  • 股东每月分红合理吗?
  • 公司的钱借给个人需要交什么税
  • 发票入账但是没付款有什么税务风险
  • 培训费开增值税专用发票可以抵扣吗
  • 分公司需要独立核算和报税吗
  • win7 mysql5.7.21安装
  • mysql建唯一索引
  • mysql5.7.35
  • solaris date命令
  • 使用windows hello之前必须设置pin
  • centos进入
  • mac远程桌面mac
  • linux的tar命令用法
  • linux apache2配置
  • MSupdate.exe - MSupdate是什么进程 有什么用
  • 网卡破解
  • cocos creator 资源加密
  • jquery插件怎么写
  • linux查找目录的命令
  • 备份文件并上传到网盘
  • linux 检查网络状态
  • jquery遍历dom
  • javascript编写
  • javascript教程完整版
  • services的翻译
  • 个体工商户怎样交税
  • 什么发票可以抵税
  • 免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

    鄂ICP备2023003026号

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

    友情链接: 武汉网站建设