位置: 编程技术 - 正文

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

  • 美容美发属于什么行业
  • 企业如何帮员工交公积金
  • 计提附加税的金额怎么算
  • 金税盘业务
  • 金融服务担保费会计处理
  • 小微企业季报
  • 不征税收入怎么申报企业所得税
  • 计划成本法会计分录例题
  • 劳务公司的员工与正式员工
  • 境外企业国内签订合同如何缴纳印花税?
  • 个税多交了怎么退税
  • 公司能否投资非盈利组织?如何做账
  • 公司处于亏损状态退股
  • 工业结转成本方法有哪些?
  • 销售利润率如何提高
  • 收购个人独资企业的税收
  • 个人去税务局开劳务票 税点是多少
  • 小规模增值税多少个点
  • 企业不合规发票责令补开处理
  • 企业所得税季初人数
  • 增值税专用发票的税率是多少啊
  • 专项附加扣除如何自行申报
  • 签证费会计分录
  • uniapp关闭当前页面
  • linux太卡顿
  • PHP:xml_get_current_column_number()的用法_XML解析器函数
  • php 字符串函数
  • pos机刷卡怎么做账务处理
  • dir852迅雷路由器
  • 税收返还如何做账
  • win10显示我的电脑
  • 网速慢是什么情况
  • php判断文件上传类型
  • 商品销售税金及附加包括哪些
  • 乌尤尼盐沼的演化过程
  • framework 4 client profile
  • php获取ftp文件目录
  • linux shell
  • php错误和异常
  • 处置抵债资产的账务处理
  • 新企业所得税季初资产总额怎么填
  • css的transition滑动效果
  • 处置固定资产账务处理进什么科目
  • 织梦怎样实现文件上传
  • mongodb的配置文件
  • 企业资本包括
  • 印花税减半征收政策什么时候开始的
  • 固定资产清理账户借方
  • sqlplus分页查询
  • 小规模纳税人开专票需要交税吗
  • 固定资产大修理支出摊销年限
  • 如何处理固定资产报废
  • 固定资产清理是资产类的备抵科目吗
  • 集团对子公司的管理办法
  • 新冠肺炎疫情相关的公共政策
  • mac如何隐藏桌面
  • imac固态
  • macOS 10.12 Beta 7更新了什么 macOS 10.12 Beta7更新内容汇总
  • 安装solaris11
  • centos6.10安装教程详解
  • 重装win7系统后桌面没东西
  • win10 win7控制面板
  • 在win8下能直接装win7吗
  • 英雄联盟windows10
  • linux系统获取ip地址
  • windows8如何降到windows7
  • python 变参
  • 用python进行翻译
  • pycharm远程调试linux
  • Unity3D游戏开发基础
  • html+css网站设计基础教程
  • Scrapy框架可以用于数据挖掘、监测和自动化测试
  • linux反弹shell方法
  • unity3d导出fbx文件
  • js判断div是否存在
  • 掌上海关怎么查询
  • 甘肃国家税务总局
  • 土地占用税是什么意思
  • 地税局上班时间是几点
  • 梦幻西游新区绿色通道多少钱
  • 免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

    鄂ICP备2023003026号

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

    友情链接: 武汉网站建设