When running yaim for the first time an error message is displayed:
ERROR 1045 (28000): Access denied for user 'hydra1'@'localhost' (using password: YES)
The error message disappears when running yaim a second time. This issue is tracked in bug #43945.