Problem starting mysql in xampp

Asked

Viewed 4,133 times

0

i tried using xampp but every time I try to start mysql it accuses the following error:

Port 3306 in use by ""C:\Program Files\MySQL\MySQL Server 5.7\bin\mysqld.exe" --defaults-file="C:\ProgramData\MySQL\MySQL Server 5.7\my.ini" MYSQL57"!

How to solve this problem?

  • 1

    Close Skype, it might be a kick, but most of the cases I saw was exactly it using the same xD port

1 answer

4


You already have Mysql installed on your computer and running on the port 3306 so it’s giving conflict, because xampp is trying to start your Mysql on that same port, the solution is to uninstall what was already there or change the port of one of them to 3307 for example.

In xampp you can change the Mysql port through the Xampp Control Panel window.

xampp control panel

In the Mysql config option you will open a text file for editing, find the port 3306 and change to any other. After changing save and close the file, stop and start the service in xampp.

Browser other questions tagged

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