XAMPP - Apache error

Asked

Viewed 2,904 times

0

I installed the XAMPP in my notebook, and it’s with this error that I don’t 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
  • You had mysql previously installed?

  • Yes, I had installed

  • This answer answers you?

1 answer

1

This error is due to the fact that you already have one MySql previously installed, this MySqlthat had already installed is receiving requisitions on port 3306 and the MySql that you are trying to install with the XAMPP that will run port 3306 that is already being occupied by the version that you had previously installed, there is no way it occupies something already occupied right? One solution would be to change the door of the MySql that you installed with the 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

  • that’s right, so I went to OS Services and stopped the process and it was normal. Thank you

Browser other questions tagged

You are not signed in. Login or sign up in order to post.