Page 1 of 1

How to troubleshoot MySQL?

PostPosted: 07. December 2015 12:02
by manigopal
I cant connect to My SQL says this error



Error
MySQL said: Documentation

#2002 - Connection refused
The server is not responding (or the local server's socket is not correctly configured).
Connection for controluser as defined in your configuration failed.
Retry to connect

how to resolve this error?

Re: How to troubleshoot MySQL?

PostPosted: 07. December 2015 12:59
by Nobbie
Did you start the MySQL Server successfully? Looks as if there is no server running.

Re: How to troubleshoot MySQL?

PostPosted: 04. February 2016 16:17
by Jukkata
I have the problem with MySQL too. I've installed XAMPP v. 7.0.2-1 and opened localhost successfully, but when I opened phpmyadmin I got the error
Welcome to phpMyAdmin Error

MySQL said: Documentation

Cannot connect: invalid settings.

Connection for controluser as defined in your configuration failed.

phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.

I tried to fix this with editing config.inc.php (changed the authentification type to "http" & specified password), but it did not help.
Now it gives such a response:

Welcome to phpMyAdmin
Wrong username/password. Access denied.

Any ideas how to deal with this stuff? I don't want to reinstall XAMPP once more.