How can Mysql 8.0 be installed in droplet?

  • Posted April 26, 2020
  • MySQL

I have a droplet with following configuration.

  • name: ubuntu-s-1vcpu-2gb-sgp1-01
  • os: Ubuntu 18.04.3 (LTS) x64
  • web server: tomcat 9
  • Java 8

MySQL 5 is installed.

Can I install MySQL8.0.

Warm Regards Prabhakaran


Submit an 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.

Hi there @prabars,

If you are not using the current MySQL instance, you can follow the steps from this tutorial here on how to install the latest MySQL version on Ubuntu:

However, if you are using the MySQL 5 instance already, you need to be careful and follow the instructions from the official MySQL documentation on how to upgrade from MySQL 5 to MySQL 8:

NOTE: I would also strongly recommend taking a snapshot of your Droplet before proceeding with the upgrade in case that anything goes wrong.

Regards, Bobby