mysql not started in windows - mysql

I have started mysql in xampp but this I get after installing mysql-server in port 3306
Problem detected!
15.29.09 [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" MYSQL57"!
15.29.09 [mysql] MySQL WILL NOT start without the configured ports free!
15.29.09 [mysql] You need to uninstall/disable/reconfigure the blocking application
15.29.09 [mysql] or reconfigure MySQL and the Control Panel to listen on a different port

Related

LocalServer - 2/3 services Running WAMP - MySQL is not Running [FIXED]

I recently ran into a problem that mysqld service wasn't running.
I checked the MySQL's wamp log and got the following messages:
[ERROR] Can't start server: Bind on TCP/IP port: No such file or directory
[ERROR] Do you already have another mysqld server running on port: 3306 ?
So I ran it and realized that my TCP port 3306 was already running with another mysqld.exe process
netstat -ano|find "3306"
TCP 0.0.0.0:3306 0.0.0.0:0 LISTENING 4576
TCP 0.0.0.0:33060 0.0.0.0:0 LISTENING 4576
TCP [::]:3306 [::]:0 LISTENING 4576
TCP [::]:33060 [::]:0 LISTENING 4576
after that I went to Task Manager and found the 4576 PID which was the other mysqld.exe running. So I finished the task and restarted my WAMP server, and all services went smoothly.
The problem probably occurred because I've got two wamp servers installed, don't ask me why... Hope I can help someone with this same problem.

Configuring XAMPP to run Apache & MySQL

I'm trying to get XAMPP set up to run Apache & MySQL for a the Laravel development environment that I need to start using.
When I first opened XAMPP, I couldn't start Apache because port 80 was already in use. I changed the port to 8080 as recommended by the answer here.
Currently, when I open XAMPP up, I get an error that says:
11:12:00 [Apache] Problem detected!
11:12:00 [Apache] Port 80 in use by "Unable to open process" with PID 4!
11:12:00 [Apache] Apache WILL NOT start without the configured ports free!
11:12:00 [Apache] You need to uninstall/disable/reconfigure the blocking application
11:12:00 [Apache] or reconfigure Apache and the Control Panel to listen on a different port
11:12:00 [main] Starting Check-Timer
11:12:00 [main] Control Panel Ready
But when I click 'Start' for the Apache service, it starts successfully.
When I click 'Start' for the MySQL service, I get the message:
11:17:01 [mysql] Attempting to start MySQL app...
and then nothing happens...
I tried doing what the accepted answer here suggests, and exited the server, deleted the ibdata1 file, and restarted the server, but it just got to the same point, with the message
11:22:55 [mysql] Attempting to start MySQL app...
then doesn't seem to do anything...
I came across the Conflicting ports of MySQL and XAMPP question, and tried what the answer suggested- changing the port number in my.ini from 3306 to 3307, and adding the line
$cfg['Servers'][$i]['port'] = '3307';
to config.inc.php, but that doesn't seem to have resolved the issue.
Any know how I can get MySQL to start up successfully from XAMPP?

Mysql is not running while Apache start in XAMPP

when i click to start MySQL it gives this message
Please anybody can help me.Thanks advance.
[Tomcat] Port 8080 in use by ""C:\xampp\apache\bin\httpd.exe" -k runservice"!
[Tomcat] Tomcat WILL NOT start without the configured ports free!
[Tomcat] You need to uninstall/disable/reconfigure the blocking application
[Tomcat] or reconfigure Tomcat and the Control Panel to listen on a different port
[main] Starting Check-Timer
[main] Control Panel Ready
[mysql] Attempting to start MySQL app...
[mysql] Attempting to start MySQL app...
[mysql] Attempting to start MySQL app...
[mysql] Attempting to start MySQL app...
I have faced the same error,
are you using Skype? If yes, just quit it and then start MySQL. after starting MySQL you can start Skype.
it is due to both apps are using same port.
else
Try Changing ports
this may this link will help you
http://silentlyrun.blogspot.in/2013/02/how-to-change-apache-n-mysql-port-for.html
Hope this helps you..!

Unable to start Apache and MySQL servers in Windows

I am getting some issue with the installation of xampp in windows. Actually I have skype and team viewer installed in my laptop. I have uninstalled team viewer and in skype I have checked off the "use port 80 and 443 for additional incoming connections" Still I am getting this problem. which is
5:07:24 PM [Apache] Attempting to start Apache service...
5:07:32 PM [mysql] Problem detected!
5:07:32 PM [mysql] Port 3306 in use by ""C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqld" --defaults-file="C:\Program Files\MySQL\MySQL Server 5.5\my.ini" MySQL"!
5:07:32 PM [mysql] MySQL WILL NOT start without the configured ports free!
5:07:32 PM [mysql] You need to uninstall/disable/reconfigure the blocking application
5:07:32 PM [mysql] or reconfigure MySQL and the Control Panel to listen on a different port
5:07:32 PM [mysql] Attempting to start MySQL service...
Both MySql and Apache are not starting. Pls help me with this.
Thanks in advance. :)
As the error says: you are running MYSQL from C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqld
You can go Windows logo > type services.msc > Search for Mysql Service and stop it. (left pannel "Stop")
NOTE: If you are going to use XAMPP, you should remove any previous installation of apache, php and/or mysql

mysql server not starting after change my.cnf

I wanted change my host in mysql on Ubuntu 14.04, so I checked /etc/init.d/mysql restart, server started. I changed /etc/mysql/my.cnf the line with bind-address = 127.0.0.1 to server Ip, then restart failed, when I change it back to 127.0.0.1 server can't start
Solution
# service mysql stop
# service mysql start
# service mysql restart