I have two almost identical ubuntu database servers, and automysqlbackup was happily running on both of them on using Percona 5.7 databases.
On one of them I have changed the database root password. Sucessfully apparently, as I can logon to the database via
mysql -u root -p using the new password.
I updated the
/etc/automysqlbackup/automysqlbackup.conf file to include the new root password.
BUT, then automysqlbackup always failed with the dreaded error 1045 for user 'root'@'localhost'.
Rebooting the server made no difference.
When I change the database root password back to what it was, then everything works OK; even though the
/etc/automysqlbackup/automysqlbackup.conf file still has the 'changed/new' password!
So this one has me stumped. Does automysqlbackup cache the content of
/etc/automysqlbackup/automysqlbackup.conf somewhere that I need to purge?