Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

New error over the weekend?...


Top_Speed

Recommended Posts

Posted

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!');

Posted
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??

Posted

Thank you!!!!!

I Appreciate the help, not sure how this came about however??

 

;)

KJ

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

  • 2 months later...
Posted
Thank you!!!!!

I Appreciate the help, not sure how this came about however??

 

;)

KJ

 

 

I had the same problem today. Everything worked fine yesterday and today this error came up. Did you ever find out why that happened?

 

lbrown :'(

Archived

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

×
×
  • Create New...