From: [EMAIL PROTECTED] 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 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php