Solutions to Common Errors During MySQL Database Installation

Source: Internet
Author: User

MySQL databaseSome errors often occur during installation or uninstallation. This is a headache for us. This article describes solutions to several common errors during MySQL database installation.

Solution to apply security setting error 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.

[MySQL] cocould not start the service MySQL Solution

Install mysql 5.1.33. An error occurs in the third Start Service in the Execute strongattion step when the Server Instance Configuration wizard is running, the error message "cocould not start the service MySQL" is displayed. (This is generally because mysql is installed and cannot be uninstalled. Uninstall and restart before reinstalling. Note that you can use mysqld-nt-remove to uninstall the service if it fails to be uninstalled ).

The specific method is as follows:

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

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

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.

Restart and delete the residual directory of mysql installation (check that mysql is no longer available in the service ).

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

Msyql installation to the last step start service error Solution

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:

 
 
  1. HKEY_LOCAL_MACHINE/SYSTEM/ControlSet001/Services/Eventlog/Applications/MySQL  
  2.  
  3. HKEY_LOCAL_MACHINE/SYSTEM/ControlSet002/Services/Eventlog/Applications/MySQL  
  4.  
  5. HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/Eventlog/Applications/MySQL 

If yes, delete all! Tip: search for "mysql" cyclically with F3 ")

5. If the mysql content in the task manager is also deleted.

6. Shut down the firewall.

7. I have not restarted the computer here to reinstall mysql ).

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.

I will introduce the troubleshooting of MySQL database errors during the installation process. I hope you will get some benefits!

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.