Home  >  Article  >  Database  >  MySQL - APPLY security settings error occurs during installation

MySQL - APPLY security settings error occurs during installation

黄舟
黄舟Original
2017-01-21 13:15:301515browse

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 (www.php.cn)!


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn