13.02.2011, 14:29
Okay, My Server is hosted on this ip : server.ip.here
My Website & SQL server are here: website.sql.ip
I connect via mysql_connect("website.sql.ip","user","password"," db");
But on the logs it fails to connect and shows this:
Acces denied. 'user@server.ip.here', meaning that its connecting to localhost instead of the IP of my sql server.Why is this?
My Website & SQL server are here: website.sql.ip
I connect via mysql_connect("website.sql.ip","user","password"," db");
But on the logs it fails to connect and shows this:
Acces denied. 'user@server.ip.here', meaning that its connecting to localhost instead of the IP of my sql server.Why is this?