Report this

What is the reason for this report?

How do I Install MySQL 8.0 Linux Ubuntu?

Posted on May 27, 2019

How do I Install MySQL 8.0 Linux Ubuntu? When I searched in market place MySQL version 5.7.23 is only available on Ubuntu 18.04.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

This comment has been deleted

There is an APT repo for installing MySQL server and client.

  1. Ensure wget is installed sudo apt install wget

  2. Download the repo package wget -c https://dev.mysql.com/get/mysql-apt-config_0.8.10-1_all.deb

  3. Install the repo package sudo dpkg -i mysql-apt-config_0.8.10-1_all.deb

Note, the installation will ask you to choose a MySQL server version and other components such as cluster, shared client libraries, or the MySQL Workbench.

  1. update your repo library sudo apt update

  2. Install MySQL server sudo apt install mysql-server

  3. Secure MySQL sudo mysql_secure_installation

  4. Install MySQL Client sudo apt install mysql-client

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.