Page 1 of 1

phpMyAdmin error

PostPosted: 06. April 2020 03:30
by Goink
I get this error every time I try to get into phpMyAdmin:

Error

MySQL said: Documentation
Cannot connect: invalid settings.
mysqli::real_connect(): (HY000/2002): No connection could be made because the target machine actively refused it.
Connection for controluser as defined in your configuration failed.
mysqli::real_connect(): (HY000/2002): No connection could be made because the target machine actively refused it.
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.

Re: phpMyAdmin error

PostPosted: 07. April 2020 10:00
by Nobbie
Is it a new unchanged Xampp installation, or did you change anything?

Re: phpMyAdmin error

PostPosted: 08. April 2020 23:55
by Goink
I did not change anything

Re: phpMyAdmin error

PostPosted: 09. April 2020 10:34
by Nobbie
Do you have another MYSQL Server running?

Last not least, you may have a firewall running which does not allow access to MySQL Server.

Re: phpMyAdmin error

PostPosted: 10. October 2020 05:06
by pnfyorch
Goink wrote:I get this error every time I try to get into phpMyAdmin:

Error

MySQL said: Documentation
Cannot connect: invalid settings.
mysqli::real_connect(): (HY000/2002): No connection could be made because the target machine actively refused it.
Connection for controluser as defined in your configuration failed.
mysqli::real_connect(): (HY000/2002): No connection could be made because the target machine actively refused it.
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 got the same error, exactly the same warning text after instalation, so this is what I did: (10/09/2020)

turn off firewall and antivirus...
stop mySql
change port number back to 3306 (previusly I changed it to 3307 to solve another problem)
start firewall
start mySql and then I got a firewall window asking me to allow XAMPP, I clicked yes and puff... working now! :)

hope that helps!!! :D :D