- Run the following command to pull the mysql image
- After the image is pulled run the following command to start the container.You can change the your_secret_password to be any password you like
docker run --name movie-shop-server -e MYSQL_ROOT_PASSWORD=your_secret_password -p 33061:3306 -d mysql
- Connect the container to the software you'll be using (mysql workbench or azure data stuio or vs code).
Make sure to use the following configurations host:localhost port:33061 username:root
- Finally run the commands in db_compilation.sql ...the database will be fully set up. 💥 happy hacking!!