RE: What is your mysql debugging strategy?

2004-05-02 Thread Matt Chatterley
PROTECTED] Sent: 27 April 2004 22:26 To: [EMAIL PROTECTED] Subject: Re: What is your mysql debugging strategy? I only use mysql with php so all I need is php code: $result = mysql_query($sql) or die(mysql_error()); This always tells me what I did wrong in the query. You could easily put

Re: What is your mysql debugging strategy?

2004-04-28 Thread Don Read
On 27-Apr-2004 zzapper wrote: On Tue, 27 Apr 2004 22:26:16 +0100, wrote: I only use mysql with php so all I need is php code: $result = mysql_query($sql) or die(mysql_error()); This always tells me what I did wrong in the query. You could easily put together a very short script into which

Re: What is your mysql debugging strategy?

2004-04-27 Thread Joshua J. Kugler
On Tuesday 27 April 2004 04:26 am, zzapper said something like: Even though I solved the following problem myself, I'd like to know what debugging strategy people use to solve problems when they get the dreaded Error in Mysql look in the manual Fire up MySQL CC and paste the SQL in there, and

Re: What is your mysql debugging strategy?

2004-04-27 Thread Richard Bryson
I only use mysql with php so all I need is php code: $result = mysql_query($sql) or die(mysql_error()); This always tells me what I did wrong in the query. You could easily put together a very short script into which you just drop you query. THis would output the problem to the page. Dead

Re: What is your mysql debugging strategy?

2004-04-27 Thread zzapper
On Tue, 27 Apr 2004 22:26:16 +0100, wrote: I only use mysql with php so all I need is php code: $result = mysql_query($sql) or die(mysql_error()); This always tells me what I did wrong in the query. You could easily put together a very short script into which you just drop you query. THis