MySQL Installation issues Summary

Source: Internet
Author: User

MySQL installation appears could not start the service MySQL error:0 processing


There are two ways to try the could not start service mysqlerror:0 when you install or reload.


One, Mode 1
MySQL installation is appearing could not start the service MySQL error:0 Error prompt, Workaround:
First, stop the MySQL service in the management tools, and then open cmd into your MySQL bin directory, for example C:\Program files\mysql\mysql Server 5.0\bin Then use the following command Mysqld-nt-remove and then it will show ... success! okay, now go to add remove program, find MySQL Select Uninstall, remember to select Remove. Finally, the MySQL directory is deleted, and the database directory is also deleted.


One, Mode 2
Check the service for any MySQL, if any, to stop the service;
Install MySQL 5.1.33, the third entry in the Execute Configurattion step when running the ServerInstance Configuration Wizard error, error prompt is could not Start the service MySQL (this situation is usually caused by the installation of MySQL, the uninstallation is not clean.) Restart and reload after uninstalling. Note that the service, if not uninstalled, can be uninstalled with Mysqld-nt-remove.


Run add Remove Program in Control Panel to uninstall MySQL;
After uninstalling to open the registry, look at the key value under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services, if there is the relevant MySQL key value (MySQL, mysqladmin) is deleted, you can;

Restart, delete the MySQL installation remnants directory (view service, there is no MySQL in the service at this time

Reinstall MySQL. Do not run the ServerInstance Configuration Wizard after installation, and then run the wizard in the Start menu after rebooting.


WindowsXP system mysql-5.0.81
Tip: 1045 Access denied for user ' root ' @ ' localhost ' using password Yes


MySQL 5.1 installation process report to apply security Setting error solution Collection
MySQL installation error apply security settings workaround


The securitysettings could not being applied to the database because the connection have failedwith the following error.


Error Nr. 1045


Access denied Foruser ' root ' @ ' localhost ' (using Password:yes)


If a personalfirewall is running on your machine, please make sure you has opened the TCPport 3306 for connections. Otherwise no client application can connect to theserver. After you has opened the port please press [Retry] to apply thesecurity settings.


If you arere-installing after your just uninstalled the MySQL server please note that thedata directory is not removed AUT Omatically. Therefore the old password Fromyour last installation was still needed to connect to the server. In this caseplease select Skip now and re-run the Configuration Wizard from the Start menu.


Application security Setting error resolution during MySQL 5.1 installation


1. Uninstall MySQL


2, delete directory C:\Documents and Settings\All Users\applicationdata\mysql


3, reinstall MySQL is OK


------------------------------------------


[MySQL] Could Notstart the service MySQL solution

Install MySQL 5.1.33, the third entry in the Execute Configurattion step when running the ServerInstance Configuration Wizard error, error prompt is could not Start the service MySQL (this situation is usually caused by the installation of MySQL, the uninstallation is not clean.) Restart and reload after uninstalling. Note that the service, if not uninstalled, can be uninstalled with Mysqld-nt-remove.


Here's how:


Check the service for any MySQL, if any, to stop the service;


Run add Remove Program in Control Panel to uninstall MySQL;


After uninstalling to open the registry, look at the key value under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services, if there is the relevant MySQL key value (MySQL, mysqladmin) is deleted, you can;


Restart, delete the MySQL installation remnants directory (view service, there is no MySQL in the service at this time);


Reinstall MySQL. Do not run the Server Instanceconfiguration Wizard after installation, and then run the wizard in the Start menu after the reboot.


PS: a valuable method


---------------------------------------------


MSYQL installation to the last step start service error resolution


1, go to the Control Panel to remove MySQL first.


2. Delete the MySQL directory under the C:\Program files directory in the C drive.


3. If you have a directory on another disk, you also need to delete it. Empty directories are also deleted


4. Go to regedit to register 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 there is, delete all!


(Tip: Use the F3 loop to find "MySQL")


5. If the contents of MySQL in Task Manager are also deleted


6, turn the firewall off.


7. Reload MySQL (I didn't restart my computer here)


Restart the computer, deactivate IIS, and delete temporary files in temp if necessary when reloading.


If this is not the case, when configuring MySQL, replace the MySQL service with a service name.


******************************************************************************************


---------------------------


An error occurred while deleting the item.


---------------------------


Unable to delete legacy_mysql51: An error occurred while deleting the item.


---------------------------


Are you sure


---------------------------


Workaround: Right-click on the registry key to increase administrators all permissions


The cannot createwindows service for mysql.error:0 error may be generated when you install MySQL, the cause of the error is mostly due to reinstalling MySQL or upgrading to MYDQL, using mysqlconfiguration Wizard.


Solution: To Regedit to the registry, with the F3 cycle to find "MySQL", all deleted, re-installed MySQL, you can.

MySQL Installation issues Summary

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.