#19609 [NEW]: mysql_pconnect not verifing host,user and pass

From: Date: Thu, 26 Sep 2002 10:37:31 +0000
Subject: #19609 [NEW]: mysql_pconnect not verifing host,user and pass
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-20386@lists.php.net to get a copy of this message
From:             gijs@spill.nl
Operating system: Redhat 7.X
PHP version:      4.2.2
PHP Bug Type:     MySQL related
Bug description:  mysql_pconnect not verifing host,user and pass

I have replicated this error op different servers. 

mysql_pconnect does not look at the host,user or password but just assumes
the (persistent) link is okee and uses it.

This way once there is a perssistant link and I want to change to a other
DB server with a new script mysql_pconnect just takes the old link en does
not check if the host,user or password are the same.
-- 
Edit bug report at http://bugs.php.net/?id=19609&edit=1
-- 
Try a CVS snapshot:  http://bugs.php.net/fix.php?id=19609&r=trysnapshot
Fixed in CVS:        http://bugs.php.net/fix.php?id=19609&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=19609&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=19609&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=19609&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=19609&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=19609&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=19609&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=19609&r=submittedtwice
register_globals:    http://bugs.php.net/fix.php?id=19609&r=globals



Thread (6 messages)

« previous php.bugs (#20386) next »