Skip to content

Instantly share code, notes, and snippets.

@dimonchoo
Created September 9, 2020 10:35
Show Gist options
  • Save dimonchoo/447d212513d17a8913619c45b6e05d19 to your computer and use it in GitHub Desktop.
Save dimonchoo/447d212513d17a8913619c45b6e05d19 to your computer and use it in GitHub Desktop.
docker mysql dump restore
sudo docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE_NAME < localhost.sql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment