I am trying to backup a db based on the instructions found here. 2-3 years ago I used the same snippet without any problems, but now I am getting this error when I run the command:
mysqldump: Error: 'Access denied; you need (at least one of) the PROCESS privilege(s) for this operation' when trying to dump tablespaces
mysqldump: Got error: 1044: Access denied for user 'username'@'%' to database 'username$dbname' when using LOCK TABLES
This is the code I run:
mysqldump -u username -h username.mysql.pythonanywhere-services.com --set-gtid-purged=OFF --no-tablespaces 'username$dbname' > backup1.sql
What am I doing wrong? Did something changed with the db access via Bash console?