Forum Moderators: coopster
I have a problem. I have a database on a server x, and a website hosted on the same server which works perfect.
I am trying to use the same database on server x from server y. When I try to connect remotely, I enter the server domain/IP instead of localhost, and it gives the error below:
Warning:
Warning: mysql_connect(): Access denied for user: 'myusername@newserverip' (Using password: YES) in /home/mydatabaseconnectionfile.php on line 72
Could not connect : Access denied for user: 'mysqlusername@newserverip' (Using password: YES)
What do you recommend? What I understand is this hosting on server X, does not allow remote connections to teh database. Is there some sort of Tunnelling I can use to connect? Both servers are Shared Hosting plans, so I do not have access to do anything except FTP into my accounts.
Talk to your host. If they're good, as in good customer support, they should be able to take care of this for you.
- Ryan
How do you think I can allow the newisp to be able to access the database from the oldisp which I have cpanel access to.
MANY Thanks for the quick responses.