Activity:
Terminal, Docker, and MySQL
Mark Fontenot, PhD
Northeastern University
Getting to Know Your Computer a Little Better
2
Some Terms
3
Pictures Included
4
Terminal
Terminal Emulator
Point of Confusion: The name of the Mac Terminal Emulator is simply “Terminal”.
Standard CLI for Windows
5
WSL Linux Shell
6
The File System
7
Paths
8
Moving Around the File System
9
Making Directories and Empty Files
10
Your Turn!
11
Docker & MySQL
12
Docker
13
What is MySQL?
14
Client/Server Model of MySQL
15
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
16
MySQL Server
Enter…. Docker!
17
Start Docker Desktop… Pull Mysql
18
Pause while MySQL Downloads
19
20
unused
21
MYSQL_ROOT_PASSWORD
abc123
You can put any
password here
you want
In Data Grip
22
Use the password you entered on the previous step of creating the container
Follow along with Demo to Add Northwind
23