error message: ERROR 1862 (HY000): Your password has expired. To log in you must change it using a client that supports expired passwords Cause of the problem: It may be that during the installation of MySQL, after initializing MySQL through mysqld --initialize and generating a temporary password, you did not directly connect to MySQL, restarted the service or restarted the machine, etc., causing the password to become invalid. Solution: 1. Modify the my.cnf configuration file
2. Restart the mysql service
3. Password-less login 4. Same as step 1, delete the newly added skip-grant-tables = 1 5. Same as step 1, restart the mysql service 6. Use the new password root to log in to mysql Well, this article ends, I hope it will be helpful to you! You may also be interested in:
|
<<: Graphical tutorial on installing JDK1.8 under CentOS7.4
>>: Detailed explanation of the use of HTML canvas and page storage technology in JavaScript
Update: Recently, it was discovered that the serv...
Table of contents Preface Create a Vite project R...
Main differences: 1. Type SQL databases are prima...
Preface: This article mainly introduces the query...
Flex Basic Concepts Flex layout (flex is the abbr...
MySQL transaction support is not bound to the MyS...
1. Install MySQL (1) Unzip the downloaded MySQL c...
<br />Semanticization cannot be explained in...
Recommended Docker learning materials: https://ww...
Table of contents 1. Install Vue scaffolding 2. C...
Preface Today, I was reviewing the creational pat...
As the data stored in the MySQL database graduall...
Let’s look at the effect first: This effect looks...
This article shares the specific code of the vue-...
CSS transformations, while cool, have not yet bee...