Jump to content

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?

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.