mysql 5.6.33 重置密码后报错

Posted 运维工匠实战(如果发现有错误请大家把正确的方法发送给我,方便

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了mysql 5.6.33 重置密码后报错相关的知识,希望对你有一定的参考价值。

 

 

[[email protected]100 Desktop]# mysql -uroot -p
Enter password: 
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 3
Server version: 5.6.33

Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type help; or \h for help. Type \c to clear the current input statement.

mysql> show databases;
ERROR 1820 (HY000): You must SET PASSWORD before executing this statement
mysql> set password = password(chenlin);
Query OK, 0 rows affected (0.10 sec)

mysql> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| mysql              |
| performance_schema |
| test               |
+--------------------+
4 rows in set (0.10 sec)

mysql> 

 

以上是关于mysql 5.6.33 重置密码后报错的主要内容,如果未能解决你的问题,请参考以下文章

安装testlink输入mysql用户名密码和testlink用户名密码提交后报错

修改MySQL密码报错“ERROR 1819 (HY000): Your password does not satisfy the current policy requirements“(代码片段

google登录android后报错12501

解决centos7.4 安装LAMP环境后报错:1130- Host xxx is not allowed to……

MySQL root密码重置 报错:mysqladmin: connect to server at 'localhost' failed的解决方案

MYSQL启动后报错故障问题的解决办法