Problem detected!
14:26:36 [mysql] 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" xxx (PROJECT NAME)"!
14:26:36 [mysql] MySQL WILL NOT start without the configured ports free!
I can't shake this error. Xamp Apache runs great, but can't figure out how to get mysql running.
I tried:
Change php.ini:
mysql.default_port=3307
mysqli.default_port=3307
and my.ini:
[client]
# password = your_password
port = 3307
socket = "C:/xampp/mysql/mysql.sock"
[mysqld]
port= 3307
I don't want to uninstall Mysql workbench (as it has important dbs)
Additional information (I've Installed mysql workbench - not sure if this helps or not)
You could use netstat -lp | grep 3306 to find out what program is already listening on port 3306 (you should see PID/Program name in last column) and stop that (maybe mysql is already running?).
Alternatively you could start the newly installed server on a different port. (edit my.cnf and change the default port there)
XAMPP Installation Directory: "e:\xampp\"
Checking for prerequisites
All prerequisites found
Initializing Modules
***
Problem detected! Port 80 in use by "Unable to open process" with
PID 4! Apache WILL NOT start without the configured ports free! You
need to uninstall/disable/reconfigure the blocking application or
reconfigure Apache and the Control Panel to listen on a different port
XAMPP Apache Service is already running on port 443
XAMPP MySQL Service is already running on port 3306
***
Problem detected! Port 8080 in use by
""E:\xampp\apache\bin\httpd.exe" -k runservice"! Tomcat WILL NOT
start without the configured ports free! You need to
uninstall/disable/reconfigure the blocking application or reconfigure
Tomcat and the Control Panel to listen on a different port
Starting Check-Timer
Control Panel Ready
Executing "services.msc"
Attempting to stop Apache service...
Attempting to stop MySQL service...
Status change detected: stopped
Status change detected: stopped
I disabled bluetooth and all other running connections and applications,and it worked fine for me
I get the following error while trying to start XAMPP:
12:34:26 PM [mysql] Attempting to start MySQL service...
12:34:38 PM [mysql] Problem detected!
12:34:38 PM [mysql] Port 3306 in use by ""C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld" --defaults-file="C:\Program Files\MySQL\MySQL Server 5.1\my.ini" MySQL"!
12:34:38 PM [mysql] MySQL WILL NOT start without the configured ports free!
12:34:38 PM [mysql] You need to uninstall/disable/reconfigure the blocking application
12:34:38 PM [mysql] or reconfigure MySQL and the Control Panel to listen on a different port
12:34:38 PM [mysql] Attempting to start MySQL service...
The log cleraly states that another application is listening on port 3306, so it is not possible to start MySQL since 3306 is the configured port for it (default port for MySQL connections). This application that already listens on por 3306 is another instance of MySQL that's probably configured to start automatically.
If you are using Windows, click the Start button, then Execute, then type services.msc and press [Enter]. Look for the running MySQL service, stop it, and configure it to prevent its launching on system startup. After that you should start XAMPP normally.
open xampp control panel.
click on "config" button.
click on "service and port settings".
click on "mysql" tab.
change the value labeled "Main Port" to 3307
So, mysql is listening 3306 port by default. According to your error,some service has already used it.
Depends on your OS,check who are using it. For example for netstat -lp | grep 3306, you can close this service and restart your mysql or change to another port OR you an change mysql default port to listen in your my.cnf file.
may be you have previously installed xampp app and left in before complete installation and then reinstalled it before uninstalling previous one just uninstall privious one or uninstall both and reinstall
Well my friend told me to reinstall xampp in C drive and it did worked but after some time i was facing same problem again so i followed this steps hope it will be helpfull.
Open cmd as administrator
If there's nothing important running on port number 3306 kill that process.
enter image description here
Follow this steps:
(In case photo have any error)
after opening cmd as administer run command
netstat -ano |findstr 3306
Then observe the PID at last column if there is only one process running shut it down.
taskkill /F /PID portidnumber
In case you get error even after doing that try to do follow the steps here:
I experienced that if we try to stop mysql before apache it is giving error.
So when you go to stop process or server stop apache first and then mysql.
And don't shutdown xampp without stopping any server
(I found this by web search and some try and error and it's working for me at least)
here I am trying to connect mysql in xampp server but getting this message again and again.... I am able to connect apache.
Problem detected!
11:59:20 PM [mysql] Port 3306 in use by ""C:\Program Files (x86)\MySQL\MySQL Server 5.1\bin\mysqld" --defaults-file="C:\Program Files (x86)\MySQL\MySQL Server 5.1\my.ini" MySQL"!
11:59:20 PM [mysql] MySQL WILL NOT start without the configured ports free!
11:59:20 PM [mysql] You need to uninstall/disable/reconfigure the blocking application
11:59:20 PM [mysql] or reconfigure MySQL and the Control Panel to listen on a different port
11:59:20 PM [mysql] Attempting to start MySQL service...
Please help me. Thanks in advance.
I'm having an issue with Xampp, I have changed my port to listen to 8080 and I still cant connect. Here is my error:
12:37:13 [Apache] Problem detected!
12:37:13 [Apache] Port 80 in use by "Unable to open process" with PID 4!
12:37:13 [Apache] Apache WILL NOT start without the configured ports free!
12:37:13 [Apache] You need to uninstall/disable/reconfigure the blocking application
12:37:13 [Apache] or reconfigure Apache and the Control Panel to listen on a different port
12:37:13 [Apache] Attempting to start Apache service...
Also I am having trouble with starting mySql
12:39:59 [mysql] Problem detected!
12:39:59 [mysql] Port 3306 in use by ""C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld" --defaults-file="C:\Program Files\MySQL\MySQL Server 5.1\my.ini" MySQL"!
12:39:59 [mysql] MySQL WILL NOT start without the configured ports free!
12:39:59 [mysql] You need to uninstall/disable/reconfigure the blocking application
12:39:59 [mysql] or reconfigure MySQL and the Control Panel to listen on a different port
12:39:59 [mysql] Attempting to start MySQL service...
Edit: PID 4 is used by the System, however i have changed the port to listen to port 8080, but no success.
There is also no process uses port 3306 and im unsure why mySql wont start