_php tutorials for installing and uninstalling MySQL services under Windows

Source: Internet
Author: User
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 ...

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.