PHP5 and disappearing DB connections

From: Date: Tue, 11 Oct 2005 18:26:46 +0000
Subject: PHP5 and disappearing DB connections
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-40139@lists.php.net to get a copy of this message
Anybody have a problem where their database connections magically disappear? I'm connecting to the database just fine and it works for a while and then in DB_mysql::simpleQuery() I get the following: Warning: mysql_select_db(): 275 is not a valid MySQL-Link resource in /usr/local/lib/php/DB/mysql.php on line 306 Warning: mysql_errno(): 275 is not a valid MySQL-Link resource in /usr/local/lib/php/DB/mysql.php on line 895 Warning: mysql_error(): 275 is not a valid MySQL-Link resource in /usr/local/lib/php/DB/mysql.php on line 896 Keep in mind that I've done > 10 queries before this happens. Here's the really odd part: resource(275) of type (mysql link) jax resource(275) of type (mysql link) jax resource(275) of type (mysql link) jax resource(275) of type (mysql link) enotes_com resource(275) of type (Unknown) jax Notice how the resource type changes to Unknown. What the heck? --Joe

« previous php.pear.dev (#40139) next »