I'm getting
Lost connection to MySQL server at 'reading initial communication packet', system error: 2
error while I'm going to connect my db.
If I'm using localhost everything is working fine. But when I'm using my live IP address like the one below, I'm getting the error:
mysql_connect("202.131.xxx.106:xxxx", "xxxx", "xxxxx") or die(mysql_error());
Please help me. Thanks.