💻 More Software engineering videos • Software Engineering by Example
In this video we will learn how to spin up a mysql database using docker.
Docker is the best and easiest way to practice, develop and learn. Instead of worrying about downloading, installing and configuring database. You can quickly spin a container do your testing and development then just spin it down.
Install docker from here https://www.docker.com/products/docke...
We will use this video as a reference for our coding series where we can write python code or Javascript code that hits this mysql database.
Lets do this!
#MYSQL
docker run --name ms -p 3306:3306 -e MYSQL_ROOT_PASSWORD=password mysql
bash into the container to run mysql
docker exec -it ms bash
run mysql
mysql -u root -ppassword (no space between -p and password)
Stay Awesome!
Hussein
Watch video Spinning MySQL Database with Docker online without registration, duration hours minute second in high quality. This video was added by user Hussein Nasser 10 March 2019, don't forget to share it with your friends and acquaintances, it has been viewed on our site 50,16 once and liked it 83 people.