New ephemeral MySQL instance to analyze a database dump (using docker)
FILE=...
PORT=33060
DBNAME=testing_db
docker run --rm -v $FILE:/docker-entrypoint-initdb.d/init.sql -p $PORT:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=1 -e MYSQL_DATABASE=DBNAME mysql
Written by nafg
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Mysql
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#