I get an error message like the following:
★start backup[2024-11-21 17:04:59]
==========================================================================================
(1045, "Access denied for user 'root'@'127.0.0.1' (using password: YES)")
(1045, "Access denied for user 'root'@'127.0.0.1' (using password: YES)")
==========================================================================================
|-Error:Failed to connect to database [localhost: 3306]
----------------------------------------------------------------------------
★[2024-11-21 17:04:59] Successful
But I can backup non-Wordpress databases via cron job without problems.