Solution MySQL installation error code is encountered during 1045

mysql installation package, and graphical cracked software: https://pan.baidu.com/s/1PIzaEGpC9QEPUwZ8OowhCw

Lower view of two compressed management software: Navicat.exe sent to the desktop line

MYSQL delete steps of:

1. The 1045 error code appears, usually is not removed prior to installation of mysql clean, you need to remove all remaining file system.

2. If the remaining mysql installation package, run directly, remove off the local mysql.

3. Delete the C: \ Program Files \ mysql folder;

4. Delete the C: \ ProgramData \ mysql folder (ProgramData is a hidden folder, to be open)

5.win + r, run regedit, delete the registry in the HKEY_LOCAL_MACHINE, SOFTWARE, MYSQL
 HKEY_LOCAL_MACHINE \ the SYSTEM \ ControlSet001 \ Services \ Eventlog \ the Application \ MySQL directory delete

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

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\MySQL 目录删除

6. Restart the computer, reinstall mysql.

7. installation to set a password when the need to pay attention because it is the second installation, will be more of a Current root password, since before the first did not install successfully, password is invalid, so the Current root password is empty, Do not fill here, only in new root password box, enter a new password, the next step by step to install it.

8. After installing you can open cmd, enter the mysql installation directory bin directory, enter -p password mysql -uroot, the login is successful then the installation was successful

Guess you like

Origin www.cnblogs.com/JaydenLL/p/11851480.html