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
The code looks like this: SELECT @i:=@i+1 rowNum,...
Table of contents Preface 1. MySQL enables SSL co...
Virtual machines are very convenient testing soft...
<br />Related articles: innerHTML HTML DOM i...
Preface: Basically, whether it is for our own use...
Using Dockerfile allows users to create custom im...
Preface Application scenario: probably the intern...
TabIndex is to press the Tab key to sequentially o...
Table of contents What is a slot Understanding of...
XML/HTML CodeCopy content to clipboard < div c...
This article shares the specific code of Vue+Webs...
serializable serialization (no problem) Transacti...
Before reading this article, I hope you have a ba...
Generally speaking, we can have the following two...
What you will create In this new tutorial, we'...