jagguy Posted January 24, 2007 Share Posted January 24, 2007 hi,I get this error on a host site. I am awaiting a reply. I have access only to phpadmin.Warning: mysql_connect() [function.mysql-connect]: Host 'meiling.seraphimnetworks.com' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts' in /home/jagguy/public_html/dbconnect.php on line 7Could not connect: Host 'meiling.seraphimnetworks.com' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'here is my script. <?php error_reporting(E_ALL); // some basic sanity checks //connect to the db $link = mysql_connect("jagguy.ej.am", "jagguy_root", " ")or die("Could not connect: " . mysql_error()); // select our database mysql_select_db("jagguy_formdata") or die(mysql_error());?> Quote Link to comment Share on other sites More sharing options...
fenway Posted January 24, 2007 Share Posted January 24, 2007 Where are the disconnect calls? How long is the connection timeout? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.