Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

too many connections open to database


Guest

Recommended Posts

i get this warning: Warning: mysql_connect(): Too many connections in /hsphere/local/home/fludan/fludan.com/catalog/admin/includes/functions/database.php on line 19 Unable to connect to database server!

 

i contacted my webhosting company and they told me it is "This happens because some careless programmers don't close connection to MySQL server in theirs scripts. And there is too many connections to database server."

 

can someone tell me what to do to check the codes and how to fix this problem - im just starting php

thanks

frank

Link to comment
Share on other sites

The server is to blame and definately not osCommerce. Some low quality shared hosts give you very low number of DB connections. If the problem persists, consider changing your host. And if the business is doing well, you might want to consider getting a dedicated host.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...