I novice, just contact Java three months. Because the learning needs to use the MySQL database, so download installation, the download and installation process has a lot of problems. I saw a lot of forum blog on Baidu approach, get inspired. Now that the problem has been resolved, in line with the principle of technology sharing, I will now deal with the wrong way to write down for your reference.
is a step-by-step download installation according to MU class, the MySQL version is 5.5.
"System error 2, specified file not found" was displayed when the MySQL service was last restarted.
Also encountered during the "1067 process unexpected termination error", looking for a lot of online solutions have not solved my two problems.
Of course, the final problem is solved, but I don't know the principle, first of all, to record the problem here. If you search the same way as me Baidu all methods without fruit, you can consider using my method a try.
1. Shut down the MySQL service. Delete.
-----> Open cmd, enter SC delete mysql (if found after the deletion service is still stating that there is a process protecting this service, first kill the MySQL process, and then shut down the service. )。
2. Delete the MySQL file.
3. Reinstall the MySQL service.
4. Go to the Bin directory in the MySQL folder.
-----> Open MySQLInstanceConfig.exe (This step of the online "0-distance contact with MySQL" section of the second chapter has a reference to the operation, not detailed here. ), and then follow the instructions to the last step.
5. The final step is also a key step.
-----> Follow the prompts MySQL will let you execute just the configuration button, this time MySQL will prompt you fourth error, do not control it, point skip.
OK, restart CMD shut down/start MySQL no problem. Description: I don't know what kind of unknown error this will occur, but it does allow MySQL to start/stop correctly. So, if you try a lot of Baidu's methods are not, I this method you can try. My MySQL version is 5.5.
About MySQL Installation errors