When we installed the MySQL database, the installation failure is a very annoying thing, the next small set to everyone in our installation of MySQL database failed some of the solutions, interested in small partners can refer to
MySQL database is not installed! MySQL last step is not installed! MySQL is not installed! is not very headache, very nerve-racking, now we do not have to worry about, small compiled for everyone to compile the reason for MySQL installation failure and MySQL installation failure solution, seize to see it!
Difficulty 1: Apply security Setting error during MySQL 5.1 installation
1. Uninstall MySQL.
2. Delete the directory C:\Documents and Settings\All Users\Application Data\mysql.
3. Reinstall MySQL is ok.
Difficulty 2: MySQL prompt could not start the service MySQL prompt
Installation of MySQL 5.1.33, the third entry in the Execute Configurattion step when running the Server Instance Configuration Wizard error, error prompt is could not Start the service MySQL
Analysis: This situation is generally due to the installation of MySQL, uninstall is not clean caused by the uninstall after reboot and then reload. Note that the service, if not uninstalled, can be uninstalled with Mysqld-nt-remove .
Here's how:
1. Check the service for any MySQL, if any, to stop the service.
2. Run add Remove Program in Control Panel to uninstall MySQL.
3. After the uninstall open the registry, see the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services under the key value, if there is the relevant MySQL key value (MySQL, mysqladmin) is deleted, you can.
4. Restart, delete the MySQL installation remnants directory (view service, there is no MySQL in the service at this time).
5. Reinstall MySQL. Do not run the Server Instance Configuration Wizard after installation, and then run the wizard in the Start menu after the reboot.
Difficulty 3: MSYQL install to the last step start service error
1. Go to the Control Panel and 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.
5. Turn off the firewall.
6. Reinstall MySQL (I did not restart the 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.
The above is in the installation of MySQL often encountered errors, I hope this article on everyone's learning has helped.
MySQL Installation Error resolution