ID: 16730 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: MySQL related Operating System: Redhat 7.1 (Kernel 2.4.17) PHP Version: 4.1.2 New Comment:
This is totally normal behavior. If you have different username/password combinations it opens a new connection, but it reuses connections with the same host/user/passwd combination. Derick Previous Comments: ------------------------------------------------------------------------ [2002-04-22 08:27:16] [EMAIL PROTECTED] If you open multiple MySQL links, and then specify which one to use in the mysql_query tag, it does not use the correct link. Instead it uses the last link opened. Short sample script available at http://www.mthmarketing.com/bugreport.txt Configure Line: './configure' 'i386-redhat-linux' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--prefix=/usr' '--with-config-file-path=/etc' '--disable-debug' '--enable-pic' '--disable-rpath' '--enable-inline-optimization' '--with-apxs=/usr/sbin/apxs' '--with-bz2' '--with-db3' '--with-exec-dir=/usr/bin' '--with-gd' '--with-gdbm' '--with-gettext' '--with-jpeg-dir=/usr' '--with-openssl' '--with-png' '--with-regex=system' '--with-ttf' '--with-zlib' '--with-layout=GNU' '--enable-bcmath' '--enable-debugger' '--enable-ftp' '--enable-magic-quotes' '--enable-safe-mode' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-track-vars' '--enable-yp' '--enable-wddx' '--with-mysql' '--without-unixODBC' '--without-oracle' '--without-oci8' '--with-pspell' '--with-xml' '--with-curl' ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16730&edit=1
