Hi.

On Wed, Jun 13, 2001 at 09:35:09AM +0100, [EMAIL PROTECTED] wrote:
>
> Is it possible to remove MySql's error log file without restarting the server.
> 
> With other db's, ie Oracle, errors are just appended to the end of the log 
> file. Is this the same with MySql, or does MySql permenantly hold the file 
> open ?

AFAIK, MySQL holds the file open, but you can tell it to reopen
it. Just delete the error file and call

shell> mysqladmin flush-logs

or 

mysql> FLUSH LOGS;

Bye,

        Benjamin.



> This email message is for the sole use of the intended recipient(s)
[...]

PS: Sorry, but do you really have to spam the list with this disclaimer?
    It is a public forum at least.

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to