Connecting to MYSQL database on remote server
Posted: Fri Sep 19, 2003 6:28 am
I want to connect to a mysql database remotely.
For instance,
I am connecting to mysql database server at 192.138.1.102 from my server say, 'myservername'
mysql_connect("192.138.1.102", user, pwd)
When I exceute this through my php page I cannot connect to the server.
It gives an error suggesting 'user@myservername' has no access to the database.
For instance,
I am connecting to mysql database server at 192.138.1.102 from my server say, 'myservername'
mysql_connect("192.138.1.102", user, pwd)
When I exceute this through my php page I cannot connect to the server.
It gives an error suggesting 'user@myservername' has no access to the database.