Connection Failed: 1130 PHP MySQL Error


#1130 - Host 'localhost' is not allowed to connect to this 
MySQL server Connection for "root" as defined in your configuration 
failed. phpMyAdmin tried to connect to the MySQL server, and the
 server rejected the connection.

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.

While trying to access a Web Url (hosted locally on IP 192.168.2.24) I received the above MySql Error.

Solution :

Just changing the domain IP : 192.168.2.24 to localhost resolved the issue.

If you want to access the page using the IP address you need to make changes to the config.inc.php file under PhpMyAdmin directory.


Topics Coverage:


🎉 We are celebrating the 10th years of Code2care! Thank you for all your support!

We strongly support Gender Equality & Diversity.

Follow Us: GitHub | Facebook | Twitter | Instagram