How to solve “Error MySQL said: Documentation #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.” problem?
When we try to access PHPMyAdmin from xampp on linux we might get the following errors
“Error
MySQL said: Documentation
#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.”
OR
“Wrong permissions on configuration file, should not be world writable!”
This is caused due to control is set to 777 for the configuration files
1. /opt/lampp/etc/my.cnf
2. /opt/lampp/phpmyadmin/config.inc.php
So we need to change its permission by running following script in terminal
1. sudo chmod 705 /opt/lampp/phpmyadmin/config.inc.php
2. sudo chmod 705 /opt/lampp/etc/my.cnf
I have config.inc.php file in /opt/lampp/phpmyadmin, please set path according to your installation location. Same for my.cnf file.
It works fine!!.
If still you are having any problems. Please let me know.
It is not working…. I am still getting the error message
no,i am still getting the problem
@geetanjali: Did u solved it now?
hi i m nirav from india a software developer.
thanks its really working i know this error is about permission but which i didnt get i have used many but this 705 its realy working thanks a lot……tc
@nirav: welcome brother…
getting same error in windows 7..its not working here
it worked. Thank a lot
thank you very much
cool !! It works fine !! Thanks a lot !!!
you are sooo great…..
Thanks so much, it worked for me
After this i am still facing “Error
MySQL said: Documentation
#2002 – The server is not responding (or the local MySQL server’s socket is not correctly configured) ” Please provide me a possible solution for the same ASAP. I am using Fedora 14. This problem is very common & too much in my office. Still i didn’t get a permanent solution for this problem…
How to solve “Error MySQL said: Documentation #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.” problem?
i have same problem in Xampp
Error in Phpmyadmin
You probably did not create a configuration file. You might want to use the setup script to create one.
Error
MySQL said: Documentation
#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.
I am facing similar problem of “#2002 Cannot log in to the MySQL server – Connection for controluser as defined in your configuration failed.” on a win 7 Machine with Wamp and Xamp both running on it. I tried all the solutions I found on net but it didn’t work.
Can somebody help me to resolve this issue?
On my ubuntu i simple backed up my htdocs folder and deleted the entire lampp folder after which i reinstalled xampp and the problem was solved.
That worked for me. Thanks!!!
Error MySQL said: Documentation #2002 – The server is not responding