mysql 5.7 ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executi
来源:互联网 发布:mac ndk 下载 编辑:程序博客网 时间:2024/05/22 11:54
搭建slave 库,
主库执行:
mysql> grant replication slave on *.* to repl@"192.168.40.132" identified by 'root';
报 设置了 skip-grant-tables 参数,在配置文件中将该参数注释掉,重启
mysql> grant replication slave on *.* to repl@"192.168.40.132" identified by 'root';
ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement.
mysql> SET PASSWORD FOR root=PASSWORD('root');
ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement.
mysql> FLUSH PRIVILEGES;
ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement.
mysql> SET PASSWORD FOR root=PASSWORD('root');
ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement.
mysql> alter user 'root'@'*' identified by 'root';
ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement.
mysql> alter user 'root'@'*' identified by 'root123';
ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement.
mysql> alter user 'root'@'localhost' identified by 'root';
Query OK, 0 rows affected (0.02 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.01 sec)
看来对这个命令有要个要求
- mysql 5.7 ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executi
- mysql ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing t
- 【MySQL】ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing
- [mysql] ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing
- MySQL5.7 错误:ERROR 1820 (HY000): You must reset your password using ALTER USER statement before ...
- ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this ..
- mysql 报错ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executin
- mysql 报错ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing
- mysql中ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing t
- mysql error You must reset your password using ALTER USER statement before executing this statement.
- mac mysql error You must reset your password using ALTER USER statement before executing this statem
- mac mysql error You must reset your password using ALTER USER statement before executing this statem
- 【mysql】You must reset your password using ALTER USER statement before executing this statement.
- MySQL错误:You must reset your password using ALTER USER statement before executing this statement.
- Mysql报错:You must reset your password using ALTER USER statement before executing this statement.
- 5.7 以后的MYSQL 登录数据库还是报错ERROR 1820 (HY000): You must reset your password using ALTER USER statement be
- 错误mac mysql error You must reset your password using ALTER USER statement before executing this stat
- ERROR 1820 (HY000): You must reset your password using ALTER USER statement befo re executing this s
- Quartz Spring与Spring Task总结
- 励志小故事
- 对于复杂交互的前端页面架构的思考(干货)
- 南大软院大神养成计划--day09
- 《JAVA与模式》之合成模式
- mysql 5.7 ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executi
- PorterDuffXfermode笔记
- 【codevs1422】河城荷取 二分+dinic
- CGBitmapContextCreate函数
- hadoop 平台搭建
- 如何使用java的正则表达式提取html标签?
- No1-【原】hexo系列文章之微博秀
- ora常用系统表
- UIImageView 图片填充,按比例,平铺