MySQL installation solution: Enter the current Root Password

Source: Internet
Author: User

Introduction: This is a detailed page for MySQL to solve the problem of entering the current root password during installation. It introduces PHP, related knowledge, skills, experience, and some PHP source code.

Class = 'pingjiaf' frameborder = '0' src = 'HTTP: // biancheng.dnbc?info/pingjia.php? Id = 340524 'rolling = 'no'>

When installing MySQL, you will find that you need to enter the current Root Password

I do not remember installing it on my computer before (your system has installed MySQL and you will need to enter the original password when reinstalling it. If it is the first time

Installation will not appear), search for solutions online.

Ultimately, the following solutions are provided:

1. Clear the installation directory of MySQL. The default value is c: \ Program Files.

2. Clear the MySQL data storage directory, which is generally in the C: \ Documents and Settings \ All users. Windows \ Application Data Directory.

(Note that the application data folder is hidden by default. You can choose tools> Folder Options> View> show all

File and folder to hide the file visibility ).

Delete a MySQL folder

3. This step is very important. No matter how I unmount MySQL to clear the residual files, I still need to enter the original password. Then I tried to find the registry and it was valid after clearing it.

Delete registry data and use Regedit to delete the following files:

Reference

HKEY_LOCAL_MACHINE/system/controlset001/services/EventLog/applications/MySQL

HKEY_LOCAL_MACHINE/system/controlset002/services/EventLog/applications/MySQL

HKEY_LOCAL_MACHINE/system/CurrentControlSet/services/EventLog/applications/MySQL

Finally, everything is OK !!!...

Love J2EE follow Java Michael Jackson video station JSON online tools

Http://biancheng.dnbcw.info/php/340524.html pageno: 7.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.