Install and uninstall the mysql service in windows. Install, uninstall mysql service install mysql service create and edit a bat file, execute it (e: mysqlinmysqld-nt.exe is the installation directory, fill in according to the actual situation) @ ECHOOFF install, uninstall mysql service
Install mysql service
Create and edit a bat file with the following content, run it (e: mysqlinmysqld-nt.exe is the installation directory, fill in according to the actual situation)
@ ECHO OFF
E: mysqlinmysqld-nt.exe-install
Net start mysql
Uninstall mysql service
Create and edit a bat file to execute (e: mysqlinmysqld-nt.exe is the installation directory, fill in as needed)
@ ECHO OFF
Net stop mysql
Mysqlinmysqld-nt.exe-remove
--------------------------------------------
MYSQL cannot be started. the specific performance is as follows: dig is a direct double-hitting mysqld.exe or the command prompt does not respond. (XP system)
Then, choose Control Panel> Management Tools> Services> mysql method to start. a prompt box is displayed, indicating that the process is terminated unexpectedly ......
I had to uninstall mysql for reinstallation, and found that the problem was not solved. I went to ask someone else to get a prompt to reinstall the system. I started to get crazy ......
Now, the painful memories are here. how can we solve them.
The first step is to uninstall the mysql service. otherwise, even if the mysql program is uninstalled, mysql is still in the service, and the problem cannot be solved. assume that my mysql is installed in C: MYSQL and runs mysqld-nt-remove (with spaces in the middle) at the command prompt c: mysqlin. a message indicating successful uninstallation is displayed. then, uninstall mysqlin the Control Panel> add or delete the program, and then install mysqlto run mysqld.exe(mysqld-nt.exe in win2000). the command prompt box flashed through, so that you can see the mysql process in the task manager, that is to say, your mysql has been revived again :)
Install mysql service create and edit the following bat file, execute it (e: mysqlinmysqld-nt.exe is the installation directory, fill in according to the actual situation) @ echo off...