Problem with the MySQL of XAMPP


Good evening with everyone I had a problem with the XAMPP does not load the MySQL


12:00:54 a.m. [mysql] Error: MySQL shutdown unexpectedly.


12:00:54 a.m. [mysql] This may be due to a blocked port, missing   dependencies, 12:00:54 a.m. [mysql] improper privileges, to crash,   or a shutdown by another method.


12:00:54 a.m. [mysql] Press the Logs button to view error logs and   check


12:00:54 a.m. [mysql] the Windows Event Viewer for more clues


12:00:54 a.m. [mysql] If you need more help, copy and post this


12:00:54 a.m. [mysql] entire log window on the forums

what could be happening?

asked by Ronald Harnol Ortega Trujillo 09.04.2016 в 07:04

1 answer


This error can be presented by two things.

Installation Directory

The directory is different from the root set by the installation package itself, Xampp pre-configures some things using a specific path. Install Xampp again in the root of your main disk.

Ports in Use

The ports used by default Apache and MySQL server (80 and 443) are being used by other applications already active on your computer. Verify that these are free and in case you can not stop the processes modify the configuration files.


link located in "C: \ Xammp \ Apache \ Conf" and replace ServerName   localhost: 80 by ServerName localhost: 8080. Listen 80 by Listen 8080.



link located in "C: \ Xammp \ Apache \ Conf \ Extra" and replace:    by .   ServerName localhost: 443 by ServerName localhost: 4430. Listen 443 for   Listen 4430.

answered by 19.04.2016 в 15:45