ERROR 1862 (HY000): Your password has expired. To log in you must change it using a client that supp
解决办法:
先通过跳过授权表的方式启动数据库:
mysqld_safe --user=mysql--datadir=/data/mysql --skip-grant-tables --skip-networking &
这样就可以免密码登录了。
然后修改该用户密码过期策略为N:
update user set password_expired="N" where user="root";
flush privileges;
重启数据库即可。
service mysql restart
ERROR 1862 (HY000): Your password has expired. To log in you must change it using a client that supp相关推荐
- mysql5.7密码过期ERROR 1862 (HY000): Your password has expired. To log in you must change
环境: ubuntu14.04 mysql5.7 一.mysql5.7 密码过期问题 报错: ERROR 1862 (HY000): Your password has expired. To lo ...
- mysql 5.7 登录时报:ERROR 1862 (HY000): Your password has expired
一 问题描述 1.在项目现场,安装的是麒麟linux操作系统,安装完成mysql后,进行mysql 命令行登录时,报如下错误: [root@localhost ~]# mysql -uroot -h1 ...
- 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.进 ...
- Your password has expired. To log in you must change it using a client that supports expired pass...
为什么80%的码农都做不了架构师?>>> msyql 5.7.11版本安装 mysql生成的root的临时密码是 2016-05-10T10:05:47.421912Z 1 [ ...
- Your password has expired.To log in you must change it using a client that supports expired password
Mysql Your password has expired.To log in you must change it using a client that supports expired pa ...
- 1862 - Your password has expired. To log in you must change it using a client that supports expired
此情况 发生在 重装mysql数据库后,设置完成密码后登陆数据库可视化软件如sqlyog.登录时出现 这是因为你现在设置密码和之前卸载mysql的密码一致,在你登陆可视软件(sqlyog)时 有默认缓 ...
- mysql密码过期your password has expired.To log in you must change itusing a client that supports expired
1.首先进入你的mySQL安装的bin目录下: 2.接着敲mysql -uroot -p 进入mysql中 3.这个时候就可以开始修改你的密码了: set password = password('1 ...
- MySQL密码过期ERROR 1862 (HY000)
报错内容:ERROR 1862 (HY000): Your password has expired. To log in you must change it using a client that ...
- ERROR 1819 (HY000): Your password does not satisfy the current policy requirements
ERROR 1819 (HY000): Your password does not satisfy the current policy requirements 这是 mysql 初始化时,使用临 ...
最新文章
- 树莓派/PC实现实时摄像头数据共享(Python—picamera)
- SAP QM初阶之维护检验计划时可以不用事先创建好检验特性主数据
- PHP Web System Optimization(undone)
- Windows Azure NotificationHub+Firebase Cloud Message 实现消息推动(付源码)
- 如何理解 ListT和 DictionaryK,V 的扩容机制 ?
- [一分钟先生]涂勇:通过跳槽走上管理岗位不可取
- 因遭做空机构指控存在金融欺诈 法拉第未来聘请律所展开调查
- python自学行吗-有编程基础Python自学行吗?
- Android开发新手常见的10个误区
- CodeForces 670C Cinema
- 【BZOJ-3573】米特运输 树形DP
- 测试网络机顶盒的软件,新买的网络机顶盒安装什么软件好 几款热门装机必备软件分享...
- redis下载安装教程(详细步骤)
- cis系统服务器,基于客户端/服务器模式头影测量信息系统(CIS)影像测量模块的开发...
- Analyze 命令的使用方法
- matlab调用CVX工具包
- Android开机启动流程
- 腾讯云CDN2023年1月5日起,将按用户访问的 HTTPS 请求数次数单独计费,对我有影响吗?
- Wifite.py 修正版脚本代码
- java记事本(一)