You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If there is another configuration, for example ~/.my.cnf, those values take precedence over the ones supplied with --defaults-extra-file if the user is not the same in .my.cnf to the configured one, the command fails with authentication error.
The behaviour is described in https://dev.mysql.com/doc/refman/8.0/en/option-file-options.html#option_general_defaults-extra-file
The problem goes away if instead of using --defaults-extra-file, the argument is changed to --defaults-file, because in this case the other configuration files don't take precedence over the supplied values.
In backup-manager/backup-methods.sh
If there is another configuration, for example ~/.my.cnf, those values take precedence over the ones supplied with --defaults-extra-file if the user is not the same in .my.cnf to the configured one, the command fails with authentication error.
The behaviour is described in https://dev.mysql.com/doc/refman/8.0/en/option-file-options.html#option_general_defaults-extra-file
The problem goes away if instead of using --defaults-extra-file, the argument is changed to --defaults-file, because in this case the other configuration files don't take precedence over the supplied values.
In
backup-manager/backup-methods.sh
The text was updated successfully, but these errors were encountered: