How do I Install MySQL 8.0 Linux Ubuntu?

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.

Show comments

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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

  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