MySQL has been upgraded to 8 at the time of writing, when you issue apt install mysql-server on server now by default will install mysql 8 for you. In case, your application is supporting a lower version liked the most popular 5.7, this article will guide how install the specific version.

Source: How to Install MySQL 5.7 on Ubuntu 20.04 –