The solution to the problem that mysql5.5 cannot be installed: first uninstall MySQL; then delete the installation directory and data storage directory; then query mysql in the registry regedit and delete it all; and finally re-download and install it.
Recommendation: "mysql video tutorial"
When installing, everything was normal and always arrived. Something went wrong in the last step. The first few times there was no response at the last step. There is a method on the Internet to change the default service name "MySQL" when installing MySQl. But I tried this method several times without success.
In this case I used the second method
1. Uninstall MySQL
2. Delete the installation directory and data storage directory, which is C:\Program Files \MySQL
3. Query mysql in the registry (regedit), delete all
registry start cmd, enter regedit
## under HKEY_LOCAL_MACHINE\SYSTEM #1.Eventlog\Application\MySQL, 2.CurrentSet001Services\Eventlog\Application\MySQL, 3.ControlSet002\Services\Eventlog\Application\MySQL, 4 .CurrentControl001t\Services\MYSQL 5.CurrentControl002\Services\MYSQL 6.CurrentControlSetServices\Eventlog\Application\MySQL, Then re-download it. (even deleted related hidden files)However, I was not so lucky. When I got to the last step, something went wrong again. The third option: startservice was in red cross state. , at this moment ten thousand grass mud horses galloped past in my heart... because I have installed it no less than ten times so far.So I asked Du Niang again, and she said to turn off the security protection software on the computer. , I obediently turned off all security guards and anti-virus software, and almost forced me to turn off the firewall, and then restarted (I have restarted it N times before... Before restarting, perform the second method mentioned above) , with the mentality of asking my senior for help if it still doesn’t work, the installation was successful... Well... In fact, in the end, I still don’t know where the problem is... By the way, why did I reinstall it? The first installation process went smoothly, and I remembered the password very clearly, but when I entered it later, it showed that the password was wrong. I guarantee that I have never changed it, so I don’t know why the password was wrong...My knowledge It's superficial (very, very few people read my blog now, in fact... none at all). I have the courage to write this blog. There may be mistakes. I hope experts can correct me. I will accept it with an open mind. But don't sneer or scold. I have a strong self-esteemThe above is the detailed content of Why can't mysql5.5 be installed?. For more information, please follow other related articles on the PHP Chinese website!