Re: mysqli sql question

From: Date: Wed, 31 Aug 2011 12:43:13 +0000
Subject: Re: mysqli sql question
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-314673@lists.php.net to get a copy of this message
On 8/31/2011 1:38 PM, John Black wrote: > Hi Peet, > > not sure if there is a method to echo the sql but you can set your > development MySQL server to log all queries to a log file. > Use the log file with tail and you'll get a live view of all queries the > server attempts to process. > I already have this on the development system. I'm looking for something for the live system that displays the SQL if a query fails (this is done in an email to the developer's mailing list)

« previous php.general (#314673) next »