From: Date: September 23 2005 2:33am Subject: Re: "Lost connection to MySQL server during query" when calling stored procedure List-Archive: http://lists.mysql.com/mysql/189601 Message-Id: <20050923003320.GB90879@wantadilla.lemis.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jq0ap7NbKX2Kqbes" --jq0ap7NbKX2Kqbes Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thursday, 22 September 2005 at 17:06:32 +1200, Jasper Bryant-Greene wrote: > Jasper Bryant-Greene wrote: >> I have a stored procedure defined as follows: >> >> ... >> >> Sometimes when I execute this stored procedure ... I get the error >> "Lost connection to MySQL server during query". >> >> I am using MySQL 5.0.12-beta-log on Gentoo Linux x86. > > This only seems to happen when accessing MySQL from PHP's MySQLi API, > not when accessing it using the mysql command-line client. > > Is this a bug I should report to MySQL or to PHP? I'm not able to test > other APIs at the moment. If the server dies, that's a MySQL problem. Take a look at http://bugs.mysql.com/ for information on how to report it. In particular, the server logs should give some information. Greg -- Greg Lehey, Senior Software Engineer MySQL AB, http://www.mysql.com/ Echunga, South Australia See complete headers for address and phone numbers. Are you MySQL certified? http://www.mysql.com/certification/ --jq0ap7NbKX2Kqbes Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFDM01QIubykFB6QiMRAhC3AJ9IjICoCKzhsoEyJLw3rEikv6rCxgCgld4e NTHX/LlnGUAZP9uia8KQ3aU= =PH4+ -----END PGP SIGNATURE----- --jq0ap7NbKX2Kqbes--