Click here to Skip to main content
15,905,419 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
My Code:

PHP
$mysql_hostname = "202.13.4.100:3306";
$mysql_user = "user";
$mysql_password = "123456";
$mysql_database = "db";
$bd = mysql_connect($mysql_hostname, $mysql_user, $mysql_password) 
or die("Opps some thing went wrong Connection");
mysql_select_db($mysql_database, $bd) or die("Opps some thing went wrong Database");


But Getting Exception:

"Warning: mysql_connect(): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. in D:\xampp\htdocs\moderator\config_server.php on line 6
Opps some thing went wrong Connection"
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900