From 51ec4b053a9861f4711b90f26239dad716541716 Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Thu, 30 May 2019 20:20:57 +0000 Subject: [PATCH] Run update.sh --- mariadb/README.md | 8 ++++++++ mysql/README.md | 8 ++++++++ percona/README.md | 8 ++++++++ 3 files changed, 24 insertions(+) diff --git a/mariadb/README.md b/mariadb/README.md index 5d19b9091..9e150001a 100644 --- a/mariadb/README.md +++ b/mariadb/README.md @@ -234,6 +234,14 @@ Most of the normal tools will work, although their usage might be a little convo $ docker exec some-mariadb sh -c 'exec mysqldump --all-databases -uroot -p"$MYSQL_ROOT_PASSWORD"' > /some/path/on/your/host/all-databases.sql ``` +## Restoring data from dump files + +For restoring data. You can use `docker exec` command with `-i` flag, similar to the following: + +```console +$ docker exec -i some-mariadb sh -c 'exec mysql -uroot -p"$MYSQL_ROOT_PASSWORD"' < /some/path/on/your/host/all-databases.sql +``` + # License View [license information](https://mariadb.com/kb/en/library/licensing-faq/) for the software contained in this image. diff --git a/mysql/README.md b/mysql/README.md index bbaf1c9bc..d63314c37 100644 --- a/mysql/README.md +++ b/mysql/README.md @@ -249,6 +249,14 @@ Most of the normal tools will work, although their usage might be a little convo $ docker exec some-mysql sh -c 'exec mysqldump --all-databases -uroot -p"$MYSQL_ROOT_PASSWORD"' > /some/path/on/your/host/all-databases.sql ``` +## Restoring data from dump files + +For restoring data. You can use `docker exec` command with `-i` flag, similar to the following: + +```console +$ docker exec -i some-mysql sh -c 'exec mysql -uroot -p"$MYSQL_ROOT_PASSWORD"' < /some/path/on/your/host/all-databases.sql +``` + # License View [license information](https://www.mysql.com/about/legal/) for the software contained in this image. diff --git a/percona/README.md b/percona/README.md index 102393e9a..31694d5bd 100644 --- a/percona/README.md +++ b/percona/README.md @@ -257,6 +257,14 @@ Most of the normal tools will work, although their usage might be a little convo $ docker exec some-percona sh -c 'exec mysqldump --all-databases -uroot -p"$MYSQL_ROOT_PASSWORD"' > /some/path/on/your/host/all-databases.sql ``` +## Restoring data from dump files + +For restoring data. You can use `docker exec` command with `-i` flag, similar to the following: + +```console +$ docker exec -i some-percona sh -c 'exec mysql -uroot -p"$MYSQL_ROOT_PASSWORD"' < /some/path/on/your/host/all-databases.sql +``` + # License View [license information](https://www.percona.com/doc/percona-server/LATEST/copyright.html) for the software contained in this image.