Bug#622119: [debian-mysql] Bug#622119: mysql-server: logrotatescript fails, nothing to do

2013-05-22 Thread Bjoern Boschman
Hi, the problem comes from mysqladmin flush-logs that logs have the wrong owner this is somehow done wrong by the safe_mysqld script this script reads my.cnf, identifies error_log and creates it as user root solution: chown them as user mysql Cheers B Am 21.05.2013 18:01, schrieb Fabián

Bug#622119: [debian-mysql] Bug#622119: mysql-server: logrotatescript fails, nothing to do

2013-05-22 Thread Fabián Bonetti
Solved: nano /etc/logrotate.d/mysql-server /var/log/mysql.log /var/log/mysql/log-slow-queries.log { su #new line work daily rotate 7 test 1: sudo /etc/cron.daily/logrotate test 2: #mysql_upgrade --force -u root -p link: