New answers tagged mysqldump
3
votes
Accepted
Prepend text to mysqldump output at dump creation time
Using echo before and after the mariadb-dump command and then redirecting the output into a file should work at least with bash:
(echo "SET autocommit=0;SET unique_checks=0;SET foreign_key_checks=...
Top 50 recent answers are included
Related Tags
mysqldump × 748mysql × 662
backup × 230
mariadb × 73
innodb × 68
restore × 59
replication × 51
mysql-5.5 × 47
mysql-5.7 × 44
mysql-5.6 × 38
myisam × 29
import × 25
linux × 22
migration × 21
amazon-rds × 20
mysql-workbench × 20
dump × 18
mysql-8.0 × 16
mysql-5.1 × 13
percona × 12
export × 12
windows × 11
mysql-5 × 11
stored-procedures × 9
performance × 8