Win10 install mysql prompt error Nr.1045 how to do?

  

MySQL is a relational database management system that many users need to use. A user made an error when installing MySQL under Win10 system. The system prompts "Error Nr.1045", this error occurs. How to solve it?

concrete steps are as follows:

1, service management tools --- which stop the MySQL service; (entered in the Run, & rdquo; services.msc & rdquo ;, Enter)

2, control panel --- uninstall Mysql, delete C: \\ Program Files \\ MySQL directory;

3, this is the most critical step, only the first two steps, the password can not be modified, because MySQL There are also files, that is, the MySQL folder in C:\\Documents and Settings\\All Users\\Application Data (or delete Application Data under C:\\Documents and Settings\\All Users). This file is not cleared and is MySQL reloaded. The root of the old password appears, so delete the MySQL folder;

4, check the C:\\WINDOWS directory for the my.ini file, delete it;

5, the registry HEKY_LOCAL_MACHINE, SOFTWARE, MYSQL delete (in the run, enter ”regedit”, enter)

HKEY_LOCAL_MACHINE\\SYSTEM\\ControlSet001\\Services\\Eventlog\\Application\\MySQL directory delete

HKEY_LOCAL_MACHINE\\ SYSTEM\\ControlSet002\\Se Rvices\\Eventlog\\Application\\MySQL Directory Removal

HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Eventlog\\Application\\MySQL Directory Removal After completing the above steps, you can reinstall MySQL and perform a new configuration (note the new configuration) .

The above is the Win10 installation mysql prompt error Nr.1045 solution, if you also encounter this error, follow the above tutorial.

Copyright © Windows knowledge All Rights Reserved