Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.



Recommended Posts

I'm new to this, but supposedly I'm suppose to be able to get everything working thru my web host. When I try to to update or go to the store, I receive this message:

Warning: mysql_connect(): Host '' is blocked because of many connection errors. Unblock with 'mysqladmin flush-hosts' in /hsphere/local/home/sdhook/sdhookandline.com/catalog/includes/functions/database.php on line 19

Unable to connect to database server!


I don't know what to do with this. any help would be greatly appreciated.

Link to comment
Share on other sites

Complain to your host. Seriously, it's not an osCommerce issue, it's a hosting issue. Report it to them and make them take care of it.


The only thing that you have to do is to make sure that your osCommerce connection info in includes/configure.php is correct.


Good luck,


Link to comment
Share on other sites

  • 3 months later...

Hi all you have to do is get your admin that has control over

your sql to Unblock your sql with 'mysqladmin flush-hosts' command


Access of your sql has been blocked by a sql script that looks out for hackers trying to break into sql databases


What the script looks for is failed contections to the sql database


It is normaly set to a low number like 10 times


hope this helps

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...