Re: "Lost connection to MySQL server during query" when calling stored procedure

2005-09-26 Thread Lenz Grimmer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, On Fri, 23 Sep 2005, Jasper Bryant-Greene wrote: > Thing is, even though I get that error, the server keeps running and > accepting other connections and responding to queries fine. Probably because the mysqld_safe wrapper script has restarted i

Re: "Lost connection to MySQL server during query" when calling stored procedure

2005-09-26 Thread Greg 'groggy' Lehey
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

Re: "Lost connection to MySQL server during query" when calling stored procedure

2005-09-22 Thread Jasper Bryant-Greene
Greg 'groggy' Lehey wrote: On Thursday, 22 September 2005 at 17:06:32 +1200, Jasper Bryant-Greene wrote: Jasper Bryant-Greene wrote: 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

Re: "Lost connection to MySQL server during query" when calling stored procedure

2005-09-21 Thread Jasper Bryant-Greene
Jasper Bryant-Greene 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=userID LIMIT 1; Sometimes when I execute this stored procedure with, for examp

Re: "Lost connection to MySQL server during query" when calling stored procedure

2005-09-21 Thread Jasper Bryant-Greene
Daniel wrote: What API are you using to call the SP from--PHP mysqli, Perl DBD-mysql, etc.? PHP MySQLi Jasper Bryant-Greene wrote: I have a stored procedure defined as follows: CREATE PROCEDURE `album`.`getUser`( IN userID INT ) READS SQL DATA DETERMINISTIC SQL SECURITY INVOKE

Re: "Lost connection to MySQL server during query" when calling stored procedure

2005-09-21 Thread Daniel
What API are you using to call the SP from--PHP mysqli, Perl DBD-mysql, etc.? -Daniel Jasper Bryant-Greene 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 user

Re: "Lost connection to MySQL server during query" when calling stored procedure

2005-09-21 Thread Pooly
Hi, 2005/9/21, Jasper Bryant-Greene <[EMAIL PROTECTED]>: > 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

Re: "Lost connection to MySQL server during query" when calling stored procedure

2005-09-21 Thread 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=userID LIMIT 1; Sometimes when I execute this stored procedure with, for example:

Re: "Lost connection to MySQL server during query" when calling stored procedure

2005-09-21 Thread Martijn Tonies
> 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=userID LIMIT 1; > > Sometimes when I execute this stored procedure with, for example: > > C

"Lost connection to MySQL server during query" when calling stored procedure

2005-09-21 Thread Jasper Bryant-Greene
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=userID LIMIT 1; Sometimes when I execute this stored procedure with, for example: CALL getUser(7); I get