Quote:
Originally Posted by chellehman
// Connect to the mysql database.
$conn = mysql_connect("myserver.000webhost.com", "axxxxxxx_MYUSERNM", "mypswd") or die(mysql_error());
mysql_select_db('axxxxxxx_MYDBNAME', $conn) or die(mysql_error());
|
Assuming you have all other login info correct, I can only guess that you are still using the incorrect mysql host (highlighted above). This host address is not the same as your website url. It should be like mysql##.000webhost.com as per your cPanel/MySQL info, and not the account info on right side of cPanel showing your website address etc.
If you are usingthe correct MySQL host address, then I can only guess that something is amiss with your IP. Are you using a proxy server to hide your IP?