ERROR 1820 set password for root@'db'=password("1q2w3e4r")
来源:互联网 发布:手机不让安装软件 编辑:程序博客网 时间:2024/06/18 13:18
[root@db software]# rpm -ivh MySQL-server-advanced-5.6.22-1.rhel5.x86_64.rpm
[root@db software]# service mysql start
Starting MySQL.[ OK ]
[root@db software]# mysql -uroot -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.6.22-enterprise-commercial-advanced
Copyright (c) 2000, 2014, 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 for root@'db'=password("123456");
ERROR 1820 (HY000): You must SET PASSWORD before executing this statement
[root@db software]# ping db
PING db (127.0.0.1) 56(84) bytes of data.
64 bytes from db (127.0.0.1): icmp_seq=1 ttl=64 time=0.127 ms
64 bytes from db (127.0.0.1): icmp_seq=2 ttl=64 time=0.020 ms
mysql> set password=password("1q2w3e4r");
Query OK, 0 rows affected (0.00 sec)
mysql> exit
[root@db software]# mysql -uroot -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 7
Server version: 5.6.22-enterprise-commercial-advanced MySQL Enterprise Server - Advanced Edition (Commercial)
Copyright (c) 2000, 2014, 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>
mysql>
mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| mysql |
| performance_schema |
| test |
+--------------------+
- ERROR 1820 set password for root@'db'=password("1q2w3e4r")
- error: 'Access denied for user 'root'@'localhost' (using password: NO)'
- error: 'Access denied for user 'root'@'localhost' (using password: YES)'
- Give root password for maintenance
- django.db.utils.OperationalError: (1045, "Access denied for user 'root'@'127.0.0.1' (using password:
- set the root password of mysql
- ERROR 1820 (HY000): You must SET PASSWORD before executing this
- windows mysql提示:1045 access denied for user 'root'@'localhost' using password yes 和ERROR 1820解决办法wan
- Give root password for maintenance 问题解决.
- give root password for maintenance错误解决办法!
- Linux出现Give root password for maintenance
- ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
- MySQL error:Access denied for user 'root'@'localhost' (using password: YES)
- ERROR 1045 (28000): Access denied for user root@localhost (using password: no)
- ERROR 1045: Access denied for user: 'root@localhost' (Using password: YES)
- ERROR 1045 (28000): Access denied for user'root'@'localhost'(using password:YES)
- mysql-->ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
- ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
- 开始用Tornado:从Hello World开始
- SQL_Server_2008安装教程_图解
- TinyHttp源码解读
- tomcat内存溢出
- Spring Core中一段比较优秀的逻辑
- ERROR 1820 set password for root@'db'=password("1q2w3e4r")
- NVIDIA Nsight Eclipse Edition for Jetson TK1
- Linux下open与fopen的区别
- 理解Tornado里的handler ---URL控制的概念
- Java类的装载、链接和初始化
- 头文件和源文件
- 【将金令】炒白银,切忌!切忌!
- 关于Tornado handler的更多细节
- RabbitMQ开机自启动脚本