Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error Message


GregoryS

Recommended Posts

Posted

I got this

 

Warning: mysql_connect(): Too many connections in /public_html/catalog/includes/functions/database.php on line 19

Unable to connect to database server!

 

 

Does anyone know how to fix this issue?

 

Thanks

 

Greg

Posted

you need to have your host restart mysql. if you have persistent connections to true in your configure.php, set to false.

Posted

As john said restarting the DB server will solve the problem for now......also persistent connections will eat the connection count.

 

However, you might also want to check with your host provider. Either you've got a lot of connections from users visiting your site, or your mySQL configuration has 'max_connections' set too low.

 

HTH,

Tom

Archived

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

×
×
  • Create New...