--lock-all-tables (-x)
This page is part of MariaDB's Documentation.
The parent of this page is: mariadb-dump
& mysqldump
Topics on this page:
Overview
This is a command-line option for the mariadb-dump
& mysqldump
commands.
Locks all tables across all databases. This is achieved by taking a global read lock for the duration of the whole dump. Automatically turns --single-transaction and --lock-tables off.