Bug #15458: mysql_pconnect return boolean

From: Date: Fri, 08 Feb 2002 22:19:28 +0000
Subject: Bug #15458: mysql_pconnect return boolean
Groups: php.dev 
Request: Send a blank email to php-dev+get-79771@lists.php.net to get a copy of this message
From: chang@digitalhighway.net Operating system: Solaris 8 PHP version: 4.1.1 PHP Bug Type: MySQL related Bug description: mysql_pconnect return boolean $con = mysql_pconnect($db_Hostname, $db_UserName, $db_Password) || die("Can't Connect to Database: ".mysql_error()); print gettype($con); print $con; The connection is okay, no error is given. PHP generates an error if the username or password is incorrect. Variable $con supposed to be a link, but instead its a boolean with the value true(1). Just for info, other php scripts work fine in conjuction with mysql. but for this script I need to have seperate links, instead of de default last one. Compile options: --with-mysql -- Edit bug report at http://bugs.php.net/?id=15458&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=15458&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=15458&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=15458&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=15458&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=15458&r=support Expected behavior: http://bugs.php.net/fix.php?id=15458&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=15458&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=15458&r=submittedtwice

« previous php.dev (#79771) next »