What should I do if mysql cannot be installed? mysql installation failure causes and solutions, mysql Failure Causes

Source: Internet
Author: User

What should I do if mysql cannot be installed? mysql installation failure causes and solutions, mysql Failure Causes

The mysql database cannot be installed! Mysql cannot be installed in the last step! Mysql cannot be installed! Is it a headache and a headache? Now you don't have to worry about it. Let's take a look at the reasons for mysql installation failure and the solution to mysql installation failure!

Difficulty 1:An apply security setting error is reported during MySQL 5.1 installation.

1. uninstall MySQL.

2. Delete the directory C: \ Documents ents and Settings \ All Users \ Application Data \ MySQL.

3. reinstall MySQL.

Difficulty 2:MySQL prompt cocould not start the service MySQL prompt

Install mysql 5.1.33. when running the Server Instance Configuration wizard, an error occurs in the third Start Service in the Execute restart attion step. the error message is "cocould not start the service MySQL ".

Analysis:This situation is generally caused by the installation of mysql and the uninstallation is not clean. After the uninstallation, restart and re-install it. Note that you can useMysqld-nt-removeUninstall.

The specific method is as follows:

1. Check whether mysql is in the service. If yes, stop the service.

2. Run the Add/delete program on the Control Panel to uninstall mysql.

3. Open the registry after uninstalling and view the key values under HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services. If there is a mysql key value (mysql, mysqladmin), delete it.

4. Restart and delete the residual installation directory of mysql (view the service, and mysql is no longer in the service ).

5. reinstall mysql. After installation, do not run Server Instance Configuration wizard. After restart, run the wizard in the Start Menu.

Difficulty 3:Msyql installation to the last step start service error

1. Delete mysql in the control panel.

2. Delete the mysql directory under drive C: \ Program Files.

3. If you still have a directory set on another disk, delete the. Empty directory.

4. Go to regedit to set the registry:

HKEY_LOCAL_MACHINE/SYSTEM/ControlSet001/Services/Eventlog/Applications/MySQL

HKEY_LOCAL_MACHINE/SYSTEM/ControlSet002/Services/Eventlog/Applications/MySQL

HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/Eventlog/Applications/MySQL

If yes, delete all! (TIPS:Use F3 to search for "mysql") 5. If the mysql content in the task manager is also deleted.

5. Shut down the firewall.

6. reinstall mysql (I have not restarted the computer here ).

Restart the computer, disable IIS, and delete temporary files in temp if necessary.

If this is not the case, change the mysql service name When configuring mysql.

The above are common errors during mysql installation. I hope this article will help you learn more ..

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.