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