DB - too many connections

From: Date: Mon, 22 Mar 2004 07:15:15 +0000
Subject: DB - too many connections
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-11437@lists.php.net to get a copy of this message
hello, i use PEAR DB 1.6.1. Because of free hosting, mysql server gets sometimes too busy, so there's an error - "too many connections". so, i want to catch this error and inform the visitor on a nice page what is going on.. how can i do it? i know i can catch errors with $db->getCode() but i can't handle "too many connection" error. or am i wrong? sorry for my english, i hope you got my problem. thanx. michi -- Best regards, mishal mailto:mishal@centrum.cz

« previous php.pear.general (#11437) next »