1 Answer
- Newest
- Most votes
- Most comments
0
Hello.
I think the following stackoverflow answers will be helpful.
Try adding "--set-gtid-purged=off" to the command option.
https://stackoverflow.com/questions/77239724/amazon-rds-mysql-couldnt-execute-flush-tables-with-read-lock
mysqldump -h source_MySQL_DB_instance_endpoint \
-u user \
-ppassword \
--port=3306 \
--single-transaction \
--routines \
--triggers \
--set-gtid-purged=off \
--databases database database2 > path/rds-dump.sql
Relevant content
- Accepted Answerasked a year ago
- asked a year ago
- asked 2 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 4 years ago