MySQL with Docker Desktop
Mark Fontenot, PhD
Northeastern University
What is MySQL?
2
Client/Server Model of MySQL
3
MySQL Server
The Network/Internet
During Software Dev…
In a typical developer stack, the dev might need to have an instance of MySQL running on their machine…
Options:
- Direct Install
- Prepackaged executable (like XAMPP, etc)
- Containerization or VM
4
MySQL Server
Enter…. Docker!
5
Setting up Docker Desktop on Windows
6
Setting up Docker Desktop on Mac
7
* Can’t have VirtualBox <= 4.3.30
Start Docker Desktop
8
9
unused
10
MYSQL_RANDOM_ROOT_PASSWORD
11
In Data Grip
12