How to solve error when executing mysqldump on RDS MySQL:
mysqldump: Couldn't execute 'FLUSH TABLES WITH READ LOCK': Access denied for user 'user'@'%' (using password: YES) (1045)
solution:
just add parameter: --set-gtid-purged=OFF on mysqldump.