Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

HELP PLEASE!


dandelion

Recommended Posts

Instead of my site I get:

 

Warning: mysql_connect(): Host 'localhost.localdomain' is blocked because of many connection errors. Unblock with 'mysqladmin flush-hosts' in /var/www/html/catalog/includes/functions/database.php on line 19

Unable to connect to database server!

 

HELP what is this and what do I need to do?!!!!

Link to comment
Share on other sites

If your website is hosted on a shared server (not your own dedicated server) then you will have to report this to your web hosting company and get them to unblock it.

 

Action you can take yourself, which might help, is to locate the use_pconnect line close to the bottom of both of your configure.php files and if it says 'true' change it to 'false'.

 

define('USE_PCONNECT', 'false'); // use persistent connections?

 

Vger

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...