I'm looking into using autosnap, and found a deprecation note while researching the advice for snapshot consistency in /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
[mysql_upgrade]
host = localhost
user = root
# THIS FILE WILL BE REMOVED IN A FUTURE DEBIAN RELEASE.
Wouldn't it be better to use MYSQL_OPTS="-uroot" #"-prootpassword" ?
I'm looking into using autosnap, and found a deprecation note while researching the advice for snapshot consistency in /etc/mysql/debian.cnf:
Wouldn't it be better to use MYSQL_OPTS="-uroot" #"-prootpassword" ?