Skip to content

Instantly share code, notes, and snippets.

@draev
Created May 3, 2017 09:13
Show Gist options
  • Save draev/e8d5f4c78f5e03037eb07bf086436a6f to your computer and use it in GitHub Desktop.
Save draev/e8d5f4c78f5e03037eb07bf086436a6f to your computer and use it in GitHub Desktop.
Run MysqlDump in Docker Container
cat dump.sql | docker exec -i mysql /usr/bin/mysql -u root --password=password database
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment