DB connection error on Php website

PhillyPhantic

Weaksauce
Joined
Nov 24, 2006
Messages
111
Hello, I just was sent this email for my website, and I was wondering if you could give me a hand with it.

lib/WikiDB/backend/PearDB.php:34: Fatal[256]: Can't connect to database: wikidb_backend_mysql: fatal database error



* DB Error: connect failed

* ( [nativecode=Too many connections] ** mysql://PhpWiki:XXXXXXXX@localhost/mcsasail)

*





lib/WikiDB/backend/PearDB.php:34: Fatal[256]: Can't connect to database: wikidb_backend_mysql: fatal database error



* DB Error: connect failed

* ( [nativecode=Too many connections] ** mysql://PhpWiki:XXXXXXXX@localhost/mcsasail)

*
 
Is this your own DB server, or is this one from a shared web host?

Looks like you have too many connections. :p

Connect to mysql and type in 'show processlist' - you probably have tons of database connections/processes. I think you might have a lot of stuff configured to be using persistent connections, which could cause this issue.
 
Back
Top