ID: 38557 User updated by: tarek at alnhr dot com -Summary: mysqli_multi_query Causing MySQL server error Reported By: tarek at alnhr dot com Status: Open Bug Type: MySQLi related -Operating System: Many +Operating System: Linux, Unix, Windows PHP Version: 5.1.5 New Comment:
I've decided to take rid of the "MySQL server has gone away" error in my scripts forever since i believed time before that the problem is occuring when the mysqli_multi_query function is called in PHP. Today i have made a test to get sure of the exact problem. when i removed the mysqli_multi_query function and replaced every query in the function to a mysqli_query function the error disappeared completely. Tested PHP Versions: 5.1.4, 5.1.5 Tested MySQL Versions: 4.1.19-standard, 4.1.21-standard, 5.0.22-community-nt-log Previous Comments: ------------------------------------------------------------------------ [2006-08-23 03:59:35] tarek at alnhr dot com Description: ------------ When using mysqli_multi_query function, the function on some servers always makes an error in the MySQL server (Got an error reading communication packets) and on the other some servers it sometimes makes the error in the MySQL server. If you need more information and need to know how the error occurs exactly i can provide more information. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=38557&edit=1
