List:General Discussion« Previous MessageNext Message »
From:Bruce Ferrell Date:September 2 2003 2:59pm
Subject:Re: Re-establishing nuked log file
View as plain text  
flush logs from the mysql command line works

Jesse Sheidlower wrote:
> I recently restarted my MySQL server (4.0.10 in this case) with 
> the general query log enabled, to help out with some debugging and
> optimization issues. After looking at a batch of these, I then
> deleted the log file directly, with "rm foo.log", assuming that it
> would be re-generated as soon as the next query came in. It was
> not.
> 
> Is there any way to get logging restarted without stopping and
> restarting the server itself, which is live and which I'd prefer
> not to interrupt?
> 
> Thanks.
> 
> Jesse Sheidlower
> 


Thread
Re-establishing nuked log fileJesse Sheidlower2 Sep
  • Re: Re-establishing nuked log fileBruce Ferrell2 Sep
    • Re: Re-establishing nuked log fileJesse Sheidlower2 Sep
RE: Re-establishing nuked log fileDan Greene2 Sep