Mysql Plugin fails
Description
Failed to list databases: ERROR 1045 (28000): Access denied for user 'bbs_backup'@'localhost' (using password: YES) Changing the password has no effect
Steps to Reproduce
Run a backup that includes a Mysql plugin
Installation Type
Docker
BBS Version
2.98.5
Agent Version (if applicable)
2.98.4
Agent OS (if applicable)
Ubuntu / Debian
Relevant Logs
Thanks for reporting this, and sorry for the trouble. It's a regression in agent 2.98.4.
That release moved the MySQL password from the command line into a private option file, so it no longer shows in the process list. The catch: MySQL and MariaDB read the user's own ~/.my.cnf after that file, so when root's ~/.my.cnf has a [client] password, that password was used instead of the plugin's. That's why changing it in BBS made no difference.
The fix is on main: the plugin's password always wins again, while other settings in your option files (socket, SSL) still apply. It ships with the next release and needs the agent update that comes with it. I tested it with MariaDB and MySQL clients and a conflicting ~/.my.cnf.
Until then, removing or renaming root's ~/.my.cnf on that client (or making its password match the plugin's) gets backups working again.
Thank you , it was fixed before i even had a chance to apply the work around, all working perfectly