Gentoo Archives: gentoo-user

From: Stefan Schmiedl <s@×××.de>
To: John Blinka <john.blinka@×××××.com>, gentoo-user@l.g.o
Subject: Re: [gentoo-user] mariadb confused about expire_logs_days
Date: Mon, 15 Apr 2019 18:21:00
Message-Id: 884637094.20190415202047@xss.de
In Reply to: [gentoo-user] mariadb confused about expire_logs_days by John Blinka
1 Hi John,
2
3 "John Blinka" <john.blinka@×××××.com>, 15.04.2019, 17:20:
4
5 > (/etc/mysql/mariadb.d/logs) contains
6 > [mysql]
7 > expire_logs_days = 1
8
9 > Clearly, this is being ignored, since I now have 3 weeks of
10
11 It is not ignored, it is used by mysql as indicated in the
12 section label. But since mysql does not know this option it complains
13 as you saw.
14
15 The real bug is probably that [mysql] should be [mysqld] instead.
16
17 $ mysqld --verbose --help | grep expire
18 --expire-logs-days=#
19 expire_logs_days days; possible purges happen at startup
20 expire-logs-days 0
21
22 Good luck,
23 s.