Package: mysql-server Version: 5.0.20-1 Severity: normal
Hi, The logrotate script for mysql crashes on my system with the following error : /etc/cron.daily/logrotate: ^G/usr/bin/mysqladmin: refresh failed; error: 'Lost connection to MySQL server during query' error: error running shared postrotate script for /var/log/mysql.log /var/log/mysql/mysql.log /var/log/mysql/mysql-slow.log run-parts: /etc/cron.daily/logrotate exited with return code 1 Investigating the issue, I found that, when connecting as debian-sys-maint to mysql, running "flush logs" makes the server close the connection : # mysql -u debian-sys-maint -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1 to server version: 5.0.20-Debian_1-log Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> flush logs; ERROR 2013 (HY000): Lost connection to MySQL server during query mysql> Mysql.log: /usr/sbin/mysqld, Version: 5.0.20-Debian_1-log. started with: Tcp port: 3306 Unix socket: /var/run/mysqld/mysqld.sock Time Id Command Argument 060523 0:44:34 1 Connect [EMAIL PROTECTED] on 060523 0:44:37 1 Query flush logs /usr/sbin/mysqld, Version: 5.0.20-Debian_1-log. started with: Tcp port: 3306 Unix socket: /var/run/mysqld/mysqld.sock Time Id Command Argument -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.15-1-686-smp Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Versions of packages mysql-server depends on: ii mysql-server-5.0 5.0.20-1 mysql database server binaries mysql-server recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]