Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The root password of Mysql5.7 under Windows forgot how to crack it.

2025-01-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

The following brings you about the root password of Mysql5.7 under Windows and forgot how to crack the content. I believe you must have read similar articles. What's the difference between what we bring to everyone? Let's take a look at the body. I believe you will get something after reading the root password of Mysql5.7 under Windows and forgetting how to crack it.

1. Open the first cmd window to execute net stop mysql57

2. Execute mysqld in the first cmd window-- defaults-file= "C:\ ProgramData\ MySQL\ MySQL Server 5.7\ my.ini"-- skip-grant-tables-pay attention to the path (depending on your actual situation)

3. Open the second cmd window and execute mysql-uroot-p prompt for password, then enter directly (no need to enter password)

4. Select database: use mysql

5. Update the password of root: update user set authentication_string=password ('new password') where user='root' and Host='localhost'

6. Refresh permissions: flush privileges

7. Exit: quit

8. Log in again: mysql-uroot-p prompts for a password, and then you can log in only by entering the password. Done!

For the root password of Mysql5.7 under Windows above, I forgot how to crack it. Do you think it's what you want? If you want to know more about it, you can continue to follow our industry information section.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report