On Mon, 2002-10-21 at 14:25, Michael Widenius wrote:

> Which log files is it that you want to delete ?
> (Please give an example for this)
> 
> If you have a problem that old relay logs are not deleted, try to
> upgrade to MySQL 4.0.4 ;  We recently fixed a bug in this code.

This is still happening with 4.0.5a (Std, with InnoDB).

# grep relay /service/svc-mysql/run 
--relay-log=/mysql/logs/relay \
--relay-log-info-file=/mysql/logs/relay.info \
--relay_log_space_limit=500M \
# ls -al
(...)
-rw-rw----    1 mysql    mysql    541557913 Dec 16 17:04 relay.001
(...)
# mysqladmin processlist
(...)
| 2  | system user | none      |              | Connect | 539    |
Waiting for relay log space to free |
(...)
# mysqladmin shutdown
<nothing happens>
# svc -t /service/svc-mysql
<nothing still>
# svc -k /service/svc-mysql ; rm relay.*
<this works ...>
# mysql --version
mysql  Ver 12.16 Distrib 4.0.5a-beta, for pc-linux (i686)
# /usr/local/libexec/mysqld --version
/usr/local/libexec/mysqld  Ver 4.0.5a-beta for pc-linux on i686


-- 
Nicolas MONNET (Tech) <[EMAIL PROTECTED]>
Carpe Diem


---------------------------------------------------------------------
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