Hostame: sql210.0fees.net
Username: *
Password: *
<?php
mysql_connect("sql210.0fees.net", "**", "***") or die("Fatal Error");
?>
is the code im using..
I get the following error while trying to connect to mysql host..
Warning: mysql_connect() [function.mysql-connect]: [2002] A connection attempt failed because the connected party did not properly respond after a period of time, or established connecti (trying to connect via tcp://sql210.0fees.net:3306) in C:\xampp\htdocs\data.php on line 3
any help is appreciated. Thanks!
According to your error message, you try to connect to your database ( on sql210.0fees.net) from your computer ( C:\xampp\htdocs\data.php ). Usually hosting provider doesn’t permit this kind of connection.
Look with hosting provider if you can directly connect to your database from your home.