MySQL——APPLY security settings error occurred during installation
An APPLY security settings error occurred during installation. After a long period of speculation, I found that this would not happen during the first installation. error, and when reinstalling, the apply security setting error (access denied for user 'root@localhost'(using password: YES)) will easily appear, that is, when configuring the MySQL startup service, when starting the apply security setting An error will occur when uninstalling mysql. The reason is that the files are not completely deleted when uninstalling mysql, so it is necessary to manually clear these. The files to be cleared are mainly: 1. The installation directory of mysql, usually under the C:/Program Files directory.
2. The data storage directory of mysql is usually in the C:/Documents and Settings/All Users/Application Data directory.
3. Delete the registry data and delete the following files through regedit:
3.1 HKEY_LOCAL_MACHINE/SYSTEM/ControlSet001/Services/Eventlog/Applications/MySQL
3.2HKEY_LOCAL_MACHINE/SYSTEM/ControlSet002/Services/Eventlog/Applications/MySQL 3.3HKEY_LOCAL_MACHINE/SYSTEM/CurrentCon trolSet/Services/Eventlog/Applications/MySQL
At this point, you will no longer get an error when you continue the installation! !
The above is the content of MySQL - APPLY security settings error occurred during installation. For more related content, please pay attention to the PHP Chinese website (m.sbmmt.com)!