how to fix MYSQL and APACHE service not running on Xampp?

Started by rochim1412, 09-04-2021

how to fix MYSQL and APACHE service not running on Xampp?
  09-04-2021, 05:51 AM

Have you ever experienced a sudden database of an application that was created offline using the Xampp Stop Service like the example in Figure 001, now for all of you who are experiencing or have never had it, it's a good idea to read this article until it's finished maybe at another time will experience it too hehehe...

To repair the MYSQL Service, follow these steps:

    Change the name in the mysql/data folder to mysql/data_old (can use another name)
    Create a new Folder Name in mysql/data (the folder contents are still empty)
    Copy the contents of the mysql / backup to the new mysql /data folder
    Copy all your database folders that are in mysql/data_old to mysql/data (skip mysql, performance_schema, and phpmyadmin folders from data_old)
    Copy all your database folders that are in mysql/data_old to mysql/data (skipping the mysql, performance_schema, and phpmyadmin folders from data_old)
    Finally copy the ibdata1 file from mysql/data_old and replace it inside mysql/data folder
    Start MySQL from XAMPP control panel

So, how are you friends, now the mysql service is running again, right?

[Image: apache%2Berror_xampp.png]
Fig. 002

Next, to fix the Apache Service that does not stop its service as shown in Figure 002 above, please follow the steps below:

    Look at the red text to find out what application is using the port commonly used by the APACHE service.
    After knowing the application that uses the port commonly used by Apache, there are 2 ways, the first is to uninstall/remove the application and the second is to stop the application service.
    The way to temporarily stop the application service is to open the task manager and select the services tab.
    Look for the application port where the info is from Figure 002, on my computer it will appear as shown below.

        [Image: taskmanager.png]
Fig. 003

        5. After knowing the apache port that is being used by other applications, it can be temporarily stopped by right-clicking the application service and clicking stop as shown below.
[Image: taskmanager_port.png]
[Image: taskmanager_off%2Bport.png]
Fig. 005

          6. Try Reopening Xampp. if all the steps have been executed then all xampp services will run as usual.
[Image: apache%2Bxampp.png]

Thank you for reading this article, hopefully it will be useful for all friends who are experiencing the same thing.

  09-06-2021, 09:39 PM
se agradece la información, muchas gracias por compartir, saludos.

  09-15-2021, 02:05 AM
are you trying to run wordpress locally?

just use localwp. its free and very easy to use

« Next Oldest | Next Newest »

Possibly Related Threads…
Thread Author Replies Views Last Post
Malwarebytes Premium v4.2.0.82 + Fix (Lifetime Activation) Tenshimaru 14 1,239 11-23-2021, 12:29 PM
Last Post: Warqyu5
Win 10 and Edge Browser Fix 0 79 09-16-2021, 04:09 PM
Last Post: Fix
Wordpress Xampp Server niksira 11 545 04-28-2021, 11:35 AM
Last Post: dlafla
Wordpress events and ticketing edinmuftic 3 287 02-22-2021, 07:54 AM
Last Post: wingzero
Which OS do you use and why? chris2 37 1,719 02-16-2021, 10:42 AM
Last Post: ur_friend
Free Business Books: The Best 19 and Where to Get Them rogueUser 0 180 01-26-2021, 09:09 AM
Last Post: rogueUser
Gaming and Software Olusegun 0 170 01-08-2021, 03:46 AM
Last Post: Olusegun
MySQL Community Installer 5.7.10 for Windows Aka97 0 138 01-01-2021, 02:24 AM
Last Post: Aka97
Creating an app for App store and Google play lgbell 4 416 10-03-2020, 06:25 AM
Last Post: lgbell
Difference Between nulled and Retail theme on this platform..pls help!? Naruto12 2 570 08-10-2020, 10:30 AM
Last Post: weakhahaha

1 Guest(s)