rapt Posted March 30, 2010 Share Posted March 30, 2010 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 More sharing options...
rapt Posted March 30, 2010 Author Share Posted March 30, 2010 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 More sharing options...
rapt Posted March 30, 2010 Author Share Posted March 30, 2010 It is back up and running now. Must have been a server issue. A good reminder to do another backup. Link to comment Share on other sites More sharing options...
Jan Zonjee Posted March 30, 2010 Share Posted March 30, 2010 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.