The first step
Delete the My.ini below the c:\windowns (you can change it to another name first.)
Step Two
Open the corresponding installation directory \mysql\bin\winmysqladmin.exe Enter the user name and password (you can also ignore this step)
The third step under DOS, go to the MySQL bin directory.
Example: installation directory for D-disk Pc_webserver\mysql\bin
Start-run-cmd
D://Switch to the D-disk first
D:\>CD Pc_webserver\mysql\bin//through the CD directory into the bin
Then enter Mysqld-remove to delete the service
then enter Mysqld-install
The fourth step and restart the MySQL service can generally fix the problem of error
The Win7 80 port is used by the system process by default. (My computer is win10 also this reason)
You can use the following method to troubleshoot the system process consuming port 80:
Open regedit: Start-run-input regedit-bring up the registry find Hkey_local_machine\system\currentcontrolset\services\http find a DWORD value start, Change it to 0 to restart the computer, the system process will not occupy 80 ports to open your Apache.
1.png
(The following paragraph has not personally practiced, pick self-help me solve the problem of the Great God Manuscript)
This method does temporarily solve my problem, it should be like this, but the back of the problem. Apache can't open it for no reason. So, finally found that the process has a SQL Server Reporting Services, this is the SQL Servers with, and automatically run, close it, you can. But remember, maybe this process will open automatically, so first open Apache, and then SQL Server Reporting services run will not occupy 80
MySQL server is not responding