Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

New error over the weekend?...


Top_Speed

Recommended Posts

I just logged in after the weekend to my site and I see this error message:

 

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

Unable to connect to database server!

 

Not sure how to use "flush hosts"????

 

Thanks!

define('PROJECTS', 'Something that goes on forever!');

Link to comment
Share on other sites

I just logged in after the weekend to my site and I see this error message:

 

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

Unable to connect to database server!

 

Not sure how to use "flush hosts"????

 

Thanks!

 

It means that you should run the command:

 

mysqladmin -uroot -p[password] flush-hosts

 

from the command line on your mysql server.

 

If you need more info you can find it HERE

 

If you do not have access you need to contact your hosting company.

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Link to comment
Share on other sites

  • 2 months later...

Archived

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

×
×
  • Create New...