When Windows installs MySQL, the last execution stays in the write configuration file

Source: Internet
Author: User

Cause: The MySQL installation path appears in Chinese, special characters, or re-installed after MySQL is often encountered. The former is the path is not allowed to appear in Chinese names, the latter is because the uninstallation is not clean.

I just because reinstall MySQL, uninstall dirty, will cause this error later, the next list, uninstall MySQL, in addition to normal unloading, but also need to do:

1. Uninstall MySQL

2, delete the installation directory and data storage directory

3, in the registry (REGEDIT) query MySQL, delete all

4, in the C disk query MySQL related files, all delete (program files, UserData)

Cmd-regedit

1.hkey_local_machine\system\controlset001\services\eventlog\application\mysql Directory
2.hkey_local_machine\system\controlset002\services\eventlog\application\mysql Directory
3.hkey_local_machine\system\currentcontrolset\services\eventlog\application\mysql Directory
4.hkey_local_machine\system\currentcontrol001t\services\mysql Directory
5.hkey_local_machine\system\currentcontrol002\services\mysql Directory
6.hkey_local_machine\system\currentcontrolset\services\mysql Directory
7. Delete C:\Documents and Settings\All Users\Application Data\mysql Directory

Remember, do not install MySQL in the directory with the Chinese path

When Windows installs MySQL, the last execution stays in the write configuration file

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.