0
votes

I am pretty much new in this field. I have installed Bitnami.C:\Bitnami\wampstack-7.1.7-0\apache2\htdocs this is my root folder and I have done many work done in that folder. They are all working fine...but I realized that I need Xampp so I downloaded Xampp and the problem faced in Apache saying

[mysql] Problem detected! [mysql] Port 3306 in use by "C:\Bitnami\WAMPST~1.7-0\mysql\bin\mysqld.exe -- defaults-file=C:\Bitnami\WAMPST~1.7-0\mysql\my.ini wampstackMySQL"! [mysql] MySQL WILL NOT start without the configured ports free! [mysql] You need to uninstall/disable/reconfigure the blocking application [mysql] or reconfigure MySQL and the Control Panel to listen on a different port

How should I fix this...and what caused the problem? is that because of Apache server I installed via Bitnami? configuration issue right? if so

How should I config Xampp without touching or changing root folder I am afraid of messing up the current works.

1
In addition to that above question, one thing I want to know is my localhost port is localhost:81 why xampp say "port 3306"?? I want to know!!Sonny Cho

1 Answers

1
votes

Hi Bitnami engineer here,

The control panel of XAMPP is showing that error because the default port of MySQL is in used. You can check the process that is using the 3306 port by clicking in the Netstat button in the control panel.

Once you know the process that is using that port, you can either stop that process or modify the port that MySQL uses in the C:\Bitnami\WAMPST~1.7-0\mysql\my.ini file.

In case the default Apache port (80) is not used, Apache will start without throwing any error message.

Regards, Jota