Install and uninstall MySQL in Windows

Source: Internet
Author: User
Install, uninstall MySQL service install MySQL service create and edit a BAT file, execute it (E: \ mysql \ bin \ mysqld-nt.exe is the installation directory, fill in according to the actual situation) @ echo off E: \ mysql \ bin \ mysqld-nt.exe-install Net start MySQL uninstall MySQL service create and edit a BAT file to execute (E: \ mysql \ bin \ mysqld-nt.exe for the installation directory, fill in according to the actual situation) @ echo off net stop MySQL c: \ mysql \ bin \ mysqld-nt.exe-Remove -------------------------------------- MySQL cannot start the problem. the specific performance is as follows: the dig command directly attacks mysqld.exe or the command prompt does not respond. (XP system) and then try Control Panel> Management Tools> services> MySQL method to start. The prompt box appears, indicating that the process is terminated unexpectedly. depressed ...... I had to uninstall MySQL for reinstallation and found that the problem was not solved. ask someone for a prompt to reinstall the system. getting mad ...... now, the painful memories are here. How can we solve them. first, you need to uninstall the MySQL service. Otherwise, even if you have uninstalled MySQL Program 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: \ mysql \ bin. 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:) ------------------------------------------------------------ one of the frequently asked questions about installation: Why does MySQL installation fail? The installation of MySQL fails. The reason is that the server may have installed MySQL but it has not been fully uninstalled. The specific uninstall method is as follows: Step 1: If your system has a MySQL database installed, check whether it has been loaded into the system service: Open "Management Tools" on the "control panel" to check whether the "service" has a "MySQL" process. If yes, stop it. Step 2: Execute the "mysqld-NT-Remove" command in DOS to delete it from the system service. Step 3: "MySQL System Service" is successfully deleted in DOS state. Step 4: Next, uninstall programs in "Add/delete programs" on the "control panel. Step 5: Delete the c: \ mysql folder in your system. If you confirm that all the running environments mentioned above have been completely deleted. Re-installation of the system is still unavailable. Go to your drive C. Check whether the required data directory c: \ j2sdk1.4.1 _ 03, c: \ mysql, c: \ resin exists. The MySQL and resin services in the System Service have been started. If the system still fails to be used when the above conditions are met, contact the nxin technology service center. The service engineers of enxin technology will promptly and sincerely solve problems in the system for you.
Related Article

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.