- clone this repo
git clone https://github.com/systemmining/rescue-mysql-data-with-docker.git
- Copy mysql data into
mysql
directory (default located at /var/lib/mysql) - Open
docker-compose.yml
edit MYSQL_ROOT_PASSWORD toyour mysql root password
- Run
make rescue
to 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