#35637 [Fbk->Opn]: Mysqli "Lost connection to MySQL server during query"

From: Date: Sun, 11 Dec 2005 22:22:07 +0000
Subject: #35637 [Fbk->Opn]: Mysqli "Lost connection to MySQL server during query"
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-90251@lists.php.net to get a copy of this message
ID: 35637 User updated by: realbenzin at inbox dot lv Reported By: realbenzin at inbox dot lv -Status: Feedback +Status: Open Bug Type: MySQLi related Operating System: Win XP SP2 PHP Version: 5.1.1 New Comment: 5.0.15 Previous Comments: ------------------------------------------------------------------------ [2005-12-11 23:12:55] sniper@php.net What mysql version are you connecting to? ------------------------------------------------------------------------ [2005-12-11 22:49:42] realbenzin at inbox dot lv Description: ------------ When mysql stored procedures are called twice in a row I get mysqli error "Lost connection to MySQL server during query", it does not happen if I do it once or in row with simple sql statements... Mysql is ok, and no free_result is helping... Reproduce code: --------------- $db = new mysqli('localhost','root','qwerty','VT_SYS'); $u = $db->query("call spRazList(NULL);"); $u = $db->query("call spRazList(NULL);") or die('asdasdad'.$db->error); Expected result: ---------------- That stored procedure would execute twice with no errors. Actual result: -------------- Mysqli error "Lost connection to MySQL server during query" ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=35637&edit=1

« previous php.bugs (#90251) next »