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
js interesting countdown case, for your reference...
Block-level element features : •Always occupies a ...
Achieve results Implementation Code html <div ...
As the application of centos on the server side b...
1. CSS file naming conventions Suggestion: Use le...
1. Configuration By default, the first two are no...
1. Environmental preparation: Operating system: C...
Table of contents 1 Introduction 2 Prerequisites ...
Generally speaking, in order to get more complete...
Result:Implementation code: html <!-- Please h...
Today I will introduce two HTML tags that I don’t...
The creation of the simplest hello world output i...
Preface Recently, I have been helping clients con...
Table of contents Previous 1. What is setup synta...
Copy code The code is as follows: a:link { font-s...