Changing to defaults-file=/root/.my.cnf does work.
But it looks like it is requiring the defaults file to now have the datadir variable set.
Error: option 'datadir' has different values: '.' in defaults file '/var/lib/mysql/' in SHOW VARIABLES
After making these changes I was able to run a successful backup.
Side note, the new version forces secure_auth client side. This will cause issues with any lingering short passwords.
Changing to defaults- file=/root/ .my.cnf does work.
But it looks like it is requiring the defaults file to now have the datadir variable set.
Error: option 'datadir' has different values:
'.' in defaults file
'/var/lib/mysql/' in SHOW VARIABLES
After making these changes I was able to run a successful backup.
Side note, the new version forces secure_auth client side. This will cause issues with any lingering short passwords.