Created
December 1, 2021 11:01
-
-
Save semihkeskindev/b96345aed0d84414496c3b4238190e0e to your computer and use it in GitHub Desktop.
mysql export database from docker container to local
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://newbedev.com/exporting-data-from-mysql-docker-container | |
# delete first line from dump.sql file | |
docker-compose exec db mysqldump -u root -proot wordpress > dump.sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment