I am using following code to connect to remote mysql from php application I am using WAMP server where i installed my php application and on remote side also wamp server is there.
$con=mysql_connect('xxxx:xxxx:xxxx:xxxx','root','');
But connection is not being established. Following warning is coming...
Warning: mysql_connect() [function.mysql-connect]: [2002] php_network_getaddresses: getaddrinfo failed: No such host is known. (trying to connect via tcp://10:133)
Please any body give me some idea ! thanks !