mysqldumpのエラー

coreserverのcronで定期実行していたMySQLのdumpで以下のエラーを吐くようになった。

mysqldump: Error: 'Access denied; you need (at least one of) the PROCESS privilege(s) for this operation' when trying to dump tablespaces

 

最終的には

--no-tablespaces

を追加で解決できた。

mysqldump --no-tablespaces -u [username] -p [データベース]> dump.sql
 
参考:
https://forum.directadmin.com/threads/problems-mysqldump-error-‘access-denied-you-need-at-least-one-of.62251/