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?
Is there any safe way to use mysqldump without locking the tables or databases?