tuxis-cron issueshttps://gitlab.tuxis.nl/oss_public/tuxis-cron/-/issues2023-03-24T09:49:01Zhttps://gitlab.tuxis.nl/oss_public/tuxis-cron/-/issues/6Stop using `/etc/mysql/debian.cnf`2023-03-24T09:49:01ZWilliam EdwardsStop using `/etc/mysql/debian.cnf``mysql-optimize.cron` and `mysql-backup.cron` have a default of `DEFAULTSFILE="/etc/mysql/debian.cnf"`.
This file is deprecated:
```
$ cat /etc/mysql/debian.cnf
# THIS FILE IS OBSOLETE. STOP USING IT IF POSSIBLE.
# This file exists onl...`mysql-optimize.cron` and `mysql-backup.cron` have a default of `DEFAULTSFILE="/etc/mysql/debian.cnf"`.
This file is deprecated:
```
$ cat /etc/mysql/debian.cnf
# THIS FILE IS OBSOLETE. STOP USING IT IF POSSIBLE.
# This file exists only for backwards compatibility for
# tools that run '--defaults-file=/etc/mysql/debian.cnf'
# and have root level access to the local filesystem.
# With those permissions one can run 'mariadb' directly
# anyway thanks to unix socket authentication and hence
# this file is useless. See package README for more info.
[client]
host = localhost
user = root
password =
[mysql_upgrade]
host = localhost
user = root
password =
# THIS FILE WILL BE REMOVED IN A FUTURE DEBIAN RELEASE.
```
Now that MariaDB uses UNIX socket authentication for the root user by default, a defaults file should no longer be needed.