Install MySQL 8 on Ubuntu 20.04

This is really easy.

1. Update Ubuntu
An update is always a good thing

sudo apt update

2. Install MySQL

sudo apt install mysql-server

3. Secure it (remove some test users, etc.)

sudo mysql_secure_installation

4. And test it

sudo mysqladmin -p -u root version

That’s it.

Leave a Reply

Your email address will not be published.