Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Store dead - Warning: mysql_pconnect()


rapt

Recommended Posts

Hi,

 

I have not changed anything in my online store and it has just stopped working. I have e-mailed the host of the site but they are closed until tomorrow. Is it a database problem or a problem with my hosting company?

 

The error I get is

Warning: mysql_pconnect() [function.mysql-pconnect]: Too many connections in /home/rapt/public_html/includes/functions/database.php on line 17

Unable to connect to database server!

 

Any ideas on the cause would be welcome.

 

Ross

Link to comment
Share on other sites

The error has just changed to the below.

 

Warning: mysql_pconnect() [function.mysql-pconnect]: Can't connect to local MySQL server through socket '/var/tmp/mysql.sock' (2) in /home/rapt/public_html/includes/functions/database.php on line 17

Unable to connect to database server!

Link to comment
Share on other sites

It is back up and running now. Must have been a server issue. A good reminder to do another backup.

Indeed, plus not use pconnect in your configure.php but simply connect.

define('USE_PCONNECT', 'false');

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...