I have been through lots of forums and checked various posts on similar topic but non seems to work out for me.
I have freshly installed XAMPP 1.7.7 on my Ubuntu 11.10 Operating system. Everything is running except for the phpMyAdmin.
Upon hitting: http://localhost/phpmyadmin, I am getting the following error:
MySQL said:
#2002 - The server is not responding (or the local MySQL server's socket is not correctly configured) Connection for controluser as defined in your configuration failed.
When i am starting the services with: sudo /opt/lampp/lampp start
I am getting the following:
XAMPP: Another web server daemon is already running.
XAMPP: Another MySQL daemon is already running.
XAMPP: Another FTP daemon is already running.
XAMPP for Linux started.
Any suggestions would be greatly appreciated.
Go to
phpMyAdmin/config.inc.php
edit the lineto
This problem might occur due to setting of a password to root, thus phpmyadmin is not able to connect to the mysql database.
And the last thing change
to
Now restart your server. and see.
Though I'm using Mac OS 10.9, this solution may work for someone else as well, perhaps on Ubuntu.
In the XAMPP console, I only found that phpMyAdmin started working again after restarting everything including the Apache Web Server.
No problemo, now.
Goto xampp folder in local drive c, click on mysql folder, then click on bin and finally click on "mysqladmin" application. Then go back and refresh your browser and the problem is solved.
It turns out that the solution is to stop all the related services and solve the “Another daemon is already running” issue.
The commands i used to solve the issue are as follows:
Or, you can also type instead:
After that, we again start the lampp services:
Now, there must be no problems while opening:
You can check it by connecting MySQL through the command prompt.
I think that your MySQL Database is blocked by firewall. Once stop all the services of antivirus software you have on your computer, then try to connect.
I faced this problem as well and rectified by blocking all firewalls..