#26422 [Opn]: No database selected from time to time - URGENT MATTER

From: Date: Wed, 26 Nov 2003 13:24:03 +0000
Subject: #26422 [Opn]: No database selected from time to time - URGENT MATTER
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-51094@lists.php.net to get a copy of this message
ID: 26422 User updated by: gibex at remar dot pascani dot rdsnet dot ro Reported By: gibex at remar dot pascani dot rdsnet dot ro Status: Open Bug Type: MySQL related Operating System: Linux PHP Version: 4.3.4 New Comment: I tried some workaround code but no success. Sometimes it's working nice, but sometimes it;s going down. Can Someone help me with that? Previous Comments: ------------------------------------------------------------------------ [2003-11-26 08:21:28] gibex at remar dot pascani dot rdsnet dot ro Description: ------------ problem persist in php 4.3.4 MySQL version 4.0.15-standard Apache version 1.3.29 (Unix) Kernel version 2.4.20-18.9 Can you provide me a solution of this. I can't patch the PHP from server. thanks Reproduce code: --------------- $conn = mysql_connect($dbhost, $dbuser, $dbpasswd) or die(mysql_error()); mysql_select_db($dbname, $conn) or die(mysql_error()); Actual result: -------------- No Database Selected ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=26422&edit=1

« previous php.bugs (#51094) next »