Jump to content

Host 'xxx' is not allowed to connect to MySQL server


fierdor

Recommended Posts

Hey I am using XAMPP on Windows.

I basically want to access a database running on a remote MySQL server.

I have provided the IP of the remote machine. I have also edited the httpd-conf file on the remote machine.

I am able to access the remote machine's phpmyadmin..

Like If i enter 172.xx.xx.xx/phpmyadmin I get the console

However my application is not able to fetch any data from the database..I get this error..

Host 'xxxx' is not allowed to connect to this MySQL server in database.php on line 2
Could not connect to databaseHost 'xxxx' is not allowed to connect to this MySQL server

What other permissions do i have to change?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.