[debian-mysql] Bug#622119: Bug#622119: Bug#622119: mysql-server: logrotatescript fails, nothing to do
Bjoern Boschman
bjoern at boschman.de
Thu May 23 13:22:03 UTC 2013
Hi,
thanks for the pproposed fix, but I'd say that running some logrotate
scripts with enhanced privilege (root) might be against debian policy?
Cheers
B
Am 22.05.2013 20:39, schrieb 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: http://archives.gentoo.org/gentoo-user/msg_07889658c3c50f7a844eeeeb3739e364.xml
>
>
>
> _______________________________________________
> pkg-mysql-maint mailing list
> pkg-mysql-maint at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-mysql-maint
>
More information about the pkg-mysql-maint
mailing list