MySQLトラブルシューティング - mysqldump: Couldn't execute 'FLUSH TABLES': Access denied; you need (at least one of) the RELOAD privilege(s) for this operation (1227)
概要
以下のように mysqldump コマンド実行時に掲題のエラーが発生しました。
| 1 | $ mysqldump --lock-all-tables --events -h <host_name> -u <user> -p<password> --no-create-info <db_name> <table, ...> > output.sql | 
対策
エラー文の通り、RELOAD権限を付与する。
| 1 | mysql> GRANT RELOAD ON *.* TO '<user>'@'<host_name>'; | 
以上
MySQLトラブルシューティング - mysqldump: Couldn't execute 'FLUSH TABLES': Access denied; you need (at least one of) the RELOAD privilege(s) for this operation (1227)