- clone this repo
git clone https://github.com/systemmining/rescue-mysql-data-with-docker.git
- Copy mysql data into
mysqldirectory (default located at /var/lib/mysql) - Open
docker-compose.ymledit MYSQL_ROOT_PASSWORD toyour mysql root password - Run
make rescueto export all databases from your mysql - Output files stored at
sqlfiles
Read at my blog at http://blog.system-mining.xyz/recovery-mysql-database-using-docker
