Installing and uninstalling the MySQL service
Installing the MySQL Service
Create and edit the following bat file (E:mysqlinmysqld-nt.exe as the installation directory, fill in the actual situation)
@ECHO OFF
E:mysqlinmysqld-nt.exe-install
net start MySQL
Uninstalling the MySQL service
Create and edit the following bat file (E:mysqlinmysqld-nt.exe as the installation directory, fill in the actual situation)
@ECHO OFF
net stop MySQL
C:mysqlinmysqld-nt.exe-remove
--------------------------------------------
MySQL can not start the problem. The performance is as follows: either double-clicking the Mysqld.exe directly or not at the command prompt is not responding. (XP system)
Then try the Control Panel >>> Administration Tools >>> Services >>> MySQL method to start, and pop up the prompt box to terminate the process unexpectedly. Depressed ...
Had to uninstall the MySQL reload, the results found that the problem is not resolved. To ask someone else to get the reinstall System tips. Start to freak out ...
Well, the painful memories are here, now how to solve.
The first is to uninstall the MySQL service, or even uninstall the MySQL program, the service still has the MySQL, the problem will not solve. Suppose my MySQL is installed in C:mysql, run mysqld-nt-remove at the command prompt C:mysqlin (there are spaces in the middle ), you will be prompted to uninstall successfully. Then uninstall MySQL in the Control Panel >>> Add or Remove Programs, then restart, then install the MySQL run Mysqld.exe (Win2000 is Mysqld-nt.exe), the command Prompt box flashed over, This way you can see the MySQL process in the Task Manager, which means that your MySQL has risen again:)
http://www.bkjia.com/PHPjc/630978.html www.bkjia.com true http://www.bkjia.com/PHPjc/630978.html techarticle Install , uninstall the MySQL service install the MySQL service new and edit the content of a bat file, the execution (E:mysqlinmysqld-nt.exe for the installation directory, according to the actual situation) @ECHO OFF ...