docker run --name mysql -e MYSQL_ROOT_PASSWORD=pass -p 3306:3306 mysql:5
.then(npm install)
.then(docker exec -it mysql mysql -uroot -ppass)
.then(create database tutorial;)
.then(node setup.js)
.then(node index.js)
.then(navigate to: http://localhost:8080)
to connect to the mysql run:
docker exec -it mysql mysql -uroot -ppass
.then(use tutorial;)
.then(select count(id) from hello;)