From: Date: September 21 2005 2:02pm Subject: Re: "Lost connection to MySQL server during query" when calling stored procedure List-Archive: http://lists.mysql.com/mysql/189360 Message-Id: <8db58d6b0509210502403a1bf2@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi, 2005/9/21, Jasper Bryant-Greene : > Martijn Tonies wrote: > > > >>I have a stored procedure defined as follows: > >> > >>CREATE PROCEDURE `album`.`getUser`( IN userID INT ) > >> READS SQL DATA > >> DETERMINISTIC > >> SQL SECURITY INVOKER > >>SELECT * FROM users WHERE id=3DuserID LIMIT 1; > >> > >>Sometimes when I execute this stored procedure with, for example: > >> > >>CALL getUser(7); > >> > >>I get the error "Lost connection to MySQL server during query". > >> > >>This only ever happens with stored procedures, never with any normal > >>kind of query. > >> > >>I am using MySQL 5.0.12-beta-log on Gentoo Linux x86. > > > > > > And what is your question? >=20 > Fairly obviously, how do I fix it!? ;) >=20 > > Most probably, a server crash... >=20 > Can you be a little bit more specific please? The MySQL server is > working absolutely fine for everything else and also continues to > respond to connections and queries perfectly after getting that error. >=20 I think he means, that you should try the official binaries, and this still happens, file a bug report because 5.0 is still in Beta stage. --=20 Pooly Webzine Rock : http://www.w-fenec.org/