< All Topics
Print

XAMPP – How to start Apache and MySQL

How to Open Apache and MySQL in XAMPP
Step Action Description
Step 1 Launch XAMPP Control Panel
  • Open the XAMPP application from the Start menu or from your desktop shortcut.
  • The XAMPP Control Panel will appear, showing options for Apache, MySQL, and other services.
Step 2 Start Apache
  • In the XAMPP Control Panel, locate the Apache row.
  • Click the Start button next to Apache to start the web server.
  • The Apache status should turn green, indicating it's running.
  • Apache runs on ports 80 (HTTP) and 443 (HTTPS).
Step 3 Start MySQL
  • In the XAMPP Control Panel, locate the MySQL row.
  • Click the Start button next to MySQL to start the database server.
  • The MySQL status should turn green, indicating it's running.
  • MySQL runs on port 3306.
Step 4 Check Apache and MySQL Status
  • To check if Apache is running, open a web browser and go to http://localhost. You should see the XAMPP welcome page.
  • To check MySQL, click on Admin next to MySQL in the XAMPP Control Panel to open phpMyAdmin.
Step 5 Stop Apache and MySQL
  • If you need to stop Apache or MySQL, go back to the XAMPP Control Panel.
  • Click the Stop button next to the respective service.
  • The status will turn grey, indicating that the service has stopped.
Go to Top