To install it, update the package index on your server if you’ve not done so recently:Įnsure that the server is running using the systemctl start command: At the time of this writing, the version of MySQL available in the default Ubuntu repository is version 8.0.27. On Ubuntu 20.04, you can install MySQL using the APT package repository. To set this up, follow our initial server setup guide for Ubuntu 20.04. One Ubuntu 20.04 server with a non-root administrative user and a firewall configured with UFW.By completing it, you will have a working relational database that you can use to build your next website or application. This tutorial will go over how to install MySQL version 8.0 on an Ubuntu 20.04 server. It implements the relational model and uses Structured Query Language (better known as SQL) to manage its data. MySQL is an open-source database management system, commonly installed as part of the popular LAMP (Linux, Apache, MySQL, PHP/Python/Perl) stack.