XAMPP - error with Apache

0

I installed XAMPP on my notebook, and it is with this error that I do not know what it is.

10:41:41  [mysql]   Status change detected: stopped
10:41:41  [mysql]   Error: MySQL shutdown unexpectedly.
10:41:41  [mysql]   This may be due to a blocked port, missing dependencies, 
10:41:41  [mysql]   improper privileges, a crash, or a shutdown by another method.
10:41:41  [mysql]   Press the Logs button to view error logs and check
10:41:41  [mysql]   the Windows Event Viewer for more clues
10:41:41  [mysql]   If you need more help, copy and post this
10:41:41  [mysql]   entire log window on the forums
    
asked by anonymous 07.06.2015 / 15:51

1 answer

1

This error is due to already having MySql previously installed, this MySql that already had installed is receiving requests on port 3306 and the MySql that you are trying to install with XAMPP that goes running port 3306 that is already being loaded by the version you had previously installed, there is no way it can occupy something already occupied right? One solution would be to change the MySql port you installed with XAMPP or uninstall it.

  

You have to change the port in two files:

1st in this file: \xampp\mysql\bin\my.ini

2nd in this file: \xampp\php\php.ini

    
07.06.2015 / 18:04