Quantcast
Channel: MySQL Forums - InnoDB
Viewing all articles
Browse latest Browse all 1956

Table Engine Innodb, but mysqldump add option --single-transaction always lock table it ? (1 reply)

$
0
0
Please Help,

【Table Engine Innodb, but mysqldump add option --single-transaction always lock table it ?】

By MYSQL Version is mysql Ver 14.14 Distrib 5.7.33 ;
By MYSQLDUMP is MySQL dump 10.13 Distrib 5.7.33, for Linux (x86_64);


Run this command : mysqldump -h127.0.0.1 -P3306 -uroot -p --single-transaction --databases db01 --master-data=2 --quick > db01_bk.sql

Now:
One By One LOCK TABLES `table name` WRITE; and UNLOCK TABLES;


Thanks !

Viewing all articles
Browse latest Browse all 1956

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>