MySQL forgot the password how to do me to solve

tags: mysql

MySQL forgot password

1
2. Find your own installed address
8.0 Logs Mysqld - Console - Skip-Grant-Tables --shared-Memory
5.7 mysqld --skip-grant-tables

3. Re-open a CMD window, then find the installed address and only enter mysql

4. Database direct connection: use mysql
5.update user set password=password(“11111”) where user=“root”;
The "11111" here is changed by the new password.
6. Refresh permission (must step)
flush privileges;
7. Exit Quit
8. Then it will succeed.

Intelligent Recommendation

Linux forgot how to do the mysql password

Use the username and password provided in [Client] in the /etc/mysql/debian.cnf file: Change as follows reenter...

Mysql forgot how to solve the root password

      1.  First confirm that the server is in a safe state, because after setting skip-grant-tables, the Mysql database user login will skip the loading of the permission table, an...

How to solve Mysql forgot username and password

Problem description: Since Mysql has not been used for a long time, I found that I have forgotten mysql username and password and can only search for solutions online. Solution: If you started Mysql y...

2. MySQL administrator password forgot how to solve?

MySQL administrator password forgot how to solve?...

MySQL-Forgot to solve the password

Original website:MySQL-Forgot to solve the password_IT Blade Blog-CSDN blog Brief introduction This article introduces MySQL to forget the password solution. For Mysql's versions (MySQL8, MySQL5), the...

More Recommendation

Forgot my mysql password, how do you have password login?

Forgot my mysql password, how do you have password login? MySQL version: 5.7 Question When using the Windows command line to connect to MySQL, enter the login command, enter the password to enter the ...

Mysql: Linux runs mysql forgot password how to do

related articles: Install mysql database under Linux Turn on the database service command under Linux ⚠️ Different versions of Linux, different versions of MySQL, different installation methods, confi...

MySQL password forgot what to do

First, uninstall Mysql reinstallation Brutal Second, set the new password using the command line 1. Stop MySQL service use"windows+R"Combination key open operation, enter"services.msc&q...

MySQL login password forgot to solve

MySQL login password Forgot the problem solved! ! Pro test is effective! ! I downloaded installed is the latest version of 8.0 or more, whether the low version can do it, I haven't tried it. Latest ve...

Forgot your password under linux mysql how to do

Foreword Today installed on the servermysqlAfter that, the login password is found wrong, but I did not set a password Yeah, that finally after Baidu,mysqlIt will automatically create a password after...

Copyright  DMCA © 2018-2026 - All Rights Reserved - www.programmersought.com  User Notice

Top