# Step 1 — Installing MySQL

- Update the package index

```bash
sudo apt update
```

- Install the MySQL server package

```bash
sudo apt install mysql-server
```

- Start MySQL server

```bash
sudo systemctl start mysql.service
```

- Check MySQL server status

```bash
sudo systemctl status mysql
```

- The status should look like this

```shell
● mysql.service - MySQL Community Server
     Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled)
     Active: active (running) since Tue 2020-04-21 12:56:48 UTC; 6min ago
   Main PID: 10382 (mysqld)
     Status: "Server is operational"
      Tasks: 39 (limit: 1137)
     Memory: 370.0M
     CGroup: /system.slice/mysql.service
             └─10382 /usr/sbin/mysqld

```