直接给出解决方法

首先敲下下面的指令输入密码,进入 mysql 控制台:

mysql -u root -p

然后在mysql命令行里 运行下面的命令

ALTER USER `root`@`localhost` IDENTIFIED BY '你的密码', `root`@`localhost` PASSWORD EXPIRE NEVER;

方案来源:https://stackoverflow.com/a/38448822

Mysql 解决 Your password has expired.相关推荐

  1. mysql报1862_MySQL错误代码1862 your password has expired的解决方法

    博主一两个月没用上mysql 今天就遇见了这个问题我的解决方法是这样的,大家也可以参考以下. 1.win+R,运行里输入services.msc打开服务,关闭MySQL57服务(57是我的MySQL  ...

  2. mysql 1862_MySQL 1862 - Your password has expired 解决方案

    今天一台 windows 服务器上的程序异常,通过排查了解到是 MySQL 的密码过期了.报错信息如下: 英文 ERROR 我都写下来了,方便小伙伴们百度,哈哈...... 1862 - Your p ...

  3. mysql 5.7 登录时报:ERROR 1862 (HY000): Your password has expired

    一 问题描述 1.在项目现场,安装的是麒麟linux操作系统,安装完成mysql后,进行mysql 命令行登录时,报如下错误: [root@localhost ~]# mysql -uroot -h1 ...

  4. 解决orcale报ORA-28001: the password has expired

    ORA-28001: the password has expired 通过ORACLE_NET_SERVICE 连接数据库的时候,报错ORA-28001: the password has expi ...

  5. Mysql 5.7 错误号码1862 Your password has expired. To log in you must change it using a client...

    Mysql 5.7 错误号码1862 Your password has expired. To log in you must change it using a client- 解决方案: 1.进 ...

  6. ORA-28001: the password has expired解决方法

    Oracle提示错误消息ORA-28001: the password has expired,是由于Oracle11G的新特性所致, Oracle11G创建用户时缺省密码过期限制是180天(即6个月 ...

  7. mysql可以登陆sqlyog1862_MySQL错误号码1862:your password has expired

    因为是好久没有用mysql,然后隔了三个多月再次登录就出现了以上问题,嗯嗯,从来不太会用命令行的我,在QQ群里求助,最终迷迷糊糊的解决了....反正记录一下希望对大家有帮助吧,我到现在也迷迷糊糊的. ...

  8. 解决 ORA-28001: the password has expired 问题

    解决 ORA-28001: the password has expired 问题 参考文章: (1)解决 ORA-28001: the password has expired 问题 (2)http ...

  9. the password has expired解决方法

    ORA-28001: the password has expired解决方法 我们在登录数据库的时候,Oracle后台提示 " the password has expired " ...

  10. 完整过程解决 ERROR 1045 (28000): Access denied for user 'mysql'@'localhost' (using password: NO)

    ERROR 1045 (28000): Access denied for user 'mysql'@'localhost' (using password: NO) 此问题网上大部分都是围绕下面的第 ...

最新文章

  1. Spring boot ----RestTemplate学习笔记
  2. 题目1009:二叉搜索树
  3. 涨知识了!阿里、百度、腾讯的名字竟然是这样来的
  4. ae自动曝光_拾光剪影|手机摄影对焦曝光与Ae使用
  5. npm+node+cordova+ionic 版本匹配
  6. Confluence 企业服务器正遭攻击
  7. 虚拟服务器ftp上传权限设置,13. 为 FTP虚拟用户设置“不同文件目录”和“访问权限”...
  8. 23-Python-RabbitMQ
  9. 书籍-Druid实时大数据分析原理与实践
  10. 基于 YOLOV5 的 SAR 图像舰船检测
  11. Windows Defender
  12. Faster R-CNN论文翻译——中英文对照
  13. 微信小程序实现朋友圈图片展现形式
  14. 使用GBase企业管理器执行 select count(1) into @c from t1;报错解决方案
  15. oracle中正则表达式规则,Oracle SQL 正则表达式
  16. 剪贴板操作 Clipboard API 使用教程
  17. 算法复杂度及渐进符号
  18. java原理之反射机制
  19. 机房收费系统(六)-结账
  20. STM32之ADC配置,ADC_Mode模式理解

热门文章

  1. Euler formula
  2. 解决 go get获取package时候time out超时问题
  3. SICP练习1.16
  4. YOUKU播放器 研究
  5. 流量贵?裂变营销或是低成本营销的最佳选择!
  6. golang vendor目录
  7. Passenger, Apache/Nginx, Rails之间的关系
  8. 空洞卷积(膨胀卷积)的相关知识以及使用建议(HDC原则)
  9. 目标检测拉近镜头数据增强
  10. 演讲稿【物性的神奇】