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

Mysql's Root password forgot how to change it.

2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

This article mainly explains "the Root password of Mysql forgot how to change", interested friends might as well take a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn "Mysql's Root password forgot how to change it."

If you forget the root password for MySQL, you can reset it in the following ways:

1. KILL drops the MySQL process in the system as follows:

Click the desktop toolbar to open the taskbar manager.

B. Find the d-nt.exe process from the process of the task manager, and right-click to select the end process.

two。 Enter the command mysqld-nt-- skip-grant-tables on the command line to start MySQL without checking permissions

3. Then open a separate window and log in to MySQL using the root user with an empty password

4. Change the password of a root user

Mysql > update mysql.user set password=PASSWORD (new password) where User=root

Mysql > flush privileges

Mysql > quit

At this point, I believe that everyone on the "Mysql Root password forgot how to change" have a deeper understanding, might as well to the actual operation of it! Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

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

Database

Wechat

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

12
Report