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

From: Date: Thu, 27 Nov 2003 05:17:22 +0000
Subject: #26422 [Opn->Bgs]: No database selected from time to time - URGENT MATTER
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-51131@lists.php.net to get a copy of this message
ID: 26422 Updated by: sniper@php.net Reported By: gibex at remar dot pascani dot rdsnet dot ro -Status: Open +Status: Bogus Bug Type: MySQL related Operating System: Linux PHP Version: 4.3.4 New Comment: Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. Works fine for me. Previous Comments: ------------------------------------------------------------------------ [2003-11-26 08:24:02] gibex at remar dot pascani dot rdsnet dot ro 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? ------------------------------------------------------------------------ [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 (#51131) next »