Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MYSQL error

Status
Not open for further replies.

beco73

Programmer
May 8, 2005
157
CA
Hi,

My website was working fine for last couple of months. All of a sudden I am geting this error this morning. I am hosting it on easycgi.com

Warning: mysql_connect() [function.mysql-connect]: Host 'web39.pearlriver.easycgi.com' is blocked because of many connection errors. Unblock with 'mysqladmin flush-hosts' in c:\websites\sntradersonline22\sntradersonline.com\data.php on line 8
Couldn't make connection.

This was my code

<?php

$hostname="mysql4.easycgi.com";
$username="XXXX";
$password="786XXXX";
$dbname="XXXntXXX";

mysql_connect($hostname,$username, $password)
or die("Couldn't make connection.");
mysql_select_db($dbname)
or die("Couldn't select database.");


?>
 
I think you need to talk to your hosting company regarding this
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top