If MYSQL is not fully uninstalled, the installation will fail.
The installation of MYSQL is unsuccessful. it is generally because the server may have installed MYSQL and it has not been fully uninstalled.
If MYSQL cannot be started, the following situations are not reflected: Double-hitting mysqld.exe or using command lines. Check my computer-> Management-> services and applications-> services-> mysql-> start. if the result is a path error or unexpected termination, uninstall the service and reinstall it.
The specific uninstall method is as follows:
Uninstall mysql service
Create and edit the following bat file to execute
@ ECHO OFF
Net stop mysql
Mysqlinmysqld-nt.exe-remove
Pause
Then reinstall MYSQL. the installation method is as follows:
Create and edit the following bat file and execute
@ ECHO OFF
E: mysqlinmysqld-nt.exe-install
Net start mysql
Pause