Removing XAMPP and its services

I installed xampp while port 80 was not free. As a result, one of the services was unable to work. Then I tried to reinstall the program as I thought it would replace any services I already installed. I ended up using a different port from a previous MySQL service that was loaded when I first installed XAMPP.

I decided to completely uninstall xampp and reinstall it from the start. I uninstalled XAMPP successfully, however, when I check my program files, the MySQL service is still there. I tried to delete it along with other files, but it says that I cannot complete the action because MySQL is in use.

How can I uninstall MySQL so that I can boot XAMPP again from the beginning without issue?

+3


source to share


4 answers


To stop Windows services, open Start, Run and type services.msc. Then find Apache and MySQL services and stop them. If the XAMPP Control Panel is running, close it.

To remove the Apache service, open a command prompt window with administrator rights and run the command:

C: \ xampp \ apache \ bin \ httpd -k remove



To remove the MySQL service, run the command:

sc remove mysql

If you used a ZIP archive to get XAMPP, you should simply delete the XAMPP directory. If you used the installer, uninstall XAMPP from programs in Control Panel.

+2


source


If MySQL is running, you can access it through the command line interface:

Start -> Type "Cmd" in the Search box -> click on program

(Windows 7)

Then in the command window you can use MySQL commands. If you want to manage MySQL databases through a graphical interface, you need to use phpMyAdmin that comes with XAMPP.

To uninstall MySQL, first stop the Windows service (if it actually runs as a service). You can view running services by opening the management console:



Start -> Type "View Local Services" in the search box -> Click on the program

      

You can also view services through the control panel. Find the MySQL service in the list and disable it, then you can uninstall the program

If MySQL is not running as a service, but you still cannot remove it, you can either close it using the command line: mysql> quit

or kill the task in the Windows Task Manager.

0


source


In order to remove all Xammpp on your computer, you may have made the mistake that not all files cannot be deleted. To delete files without any problem, go to task manager -> services -> services (with administrator rights). Once you go them and find mysql services and Apache services. Stop these two servers and you can delete other files on your xampp to remove xampp.

0


source


To get rid of a folder xampp

on your drive (c :), click "Start", type msconfig

in the search bar and type. In the launcher, disable the services mysql

and the program Apache

. Restart your computer. You're good to go now.

0


source







All Articles