List:General Discussion« Previous MessageNext Message »
From:Nathan Sullivan Date:May 27 2009 2:21pm
Subject:RE: Logging SQL queries
View as plain text  
Neil,

You can turn on the general query log by adding a line like this to your configuration
file:

log=/var/log/mysql_queries.log


Regards,
Nathan
-----Original Message-----
From: Tompkins Neil [mailto:neil.tompkins@stripped] 
Sent: Wednesday, May 27, 2009 9:13 AM
To: [MySQL]
Subject: Logging SQL queries

Hi,

We've developed a new extranet system and feel that we need to record all
queries performed.  What is the best / recommended way to achieve this.

Thanks
Neil
Thread
Logging SQL queriesTompkins Neil27 May
  • RE: Logging SQL queriesNathan Sullivan27 May
  • Re: Logging SQL queriesMauricio Tellez27 May
  • Re: Logging SQL queriesClaudio Nanni27 May
  • Re: Logging SQL queriesBaron Schwartz27 May
    • Re: Logging SQL queriesTompkins Neil28 May
Re: Logging SQL queriesTompkins Neil3 Jun