How to Install MySQL/MariaDB on Ubuntu

The second part of our LAMP tutorial series: how to install MySQL (or MariaDB) on an Ubuntu server.

This tutorial is intended for Ubuntu servers, the instructions should work on any LTS release of Ubuntu, including Ubuntu 14.04, Ubuntu 16.04, Ubuntu 18.04, even non-LTS releases like Ubuntu 17.10 and other Ubuntu-based distros. We tested this on an Ubuntu 16.04 server.

Read the MySQL/MariaDB installation tutorial