#49761 [Opn]: Error while sending CHANGE_USER packet

From: Date: Sat, 03 Oct 2009 17:48:02 +0000
Subject: #49761 [Opn]: Error while sending CHANGE_USER packet
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-143218@lists.php.net to get a copy of this message
ID: 49761 User updated by: oliviapurvis at yahoo dot com Reported By: oliviapurvis at yahoo dot com Status: Open Bug Type: MySQLi related Operating System: CentOS 5.3 PHP Version: 5.3.0 New Comment: By the way, the script runs without warning if not using persistent connection. Also, when using persistent connection, the script works fine (as intended) even though there is a warning in the log file. Previous Comments: ------------------------------------------------------------------------ [2009-10-03 17:43:31] oliviapurvis at yahoo dot com Description: ------------ I'm currently using Mysqli (mysqlnd) with persistent connection. When checking the apache error log file I get lots of this warning: [Thu Oct 01 00:38:38 2009] [error] [client 122.122.122.122] PHP Warning: Error while sending CHANGE_USER packet. PID=18133 in /home/mysite/myscript.php on line 10 Line 10 of the script is: $db=new mysqli('p:localhost','user','pass','mydb',3306); The warning is not generated on every request to the script. It occurs only once every few minutes. Is this a bug? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=49761&edit=1

« previous php.bugs (#143218) next »