MySQL Forums
Forum List  »  Backup

DDL statements during a mysqldump backup execution
Posted by: Aryan Goyat
Date: May 21, 2020 06:05AM

The official documentation of MySQL suggests that we use the --single-transaction for Innodb tables but with that DDL statements (like ALTER TABLE, CREATE TABLE, DROP TABLE, RENAME TABLE, TRUNCATE TABLE) during a mysqldump result in an incorrect dump or a failed dump.


Is there any safe way to use mysqldump without locking the tables or databases?

Options: ReplyQuote


Subject
Views
Written By
Posted
DDL statements during a mysqldump backup execution
470
May 21, 2020 06:05AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.