Report this

What is the reason for this report?

How can Mysql 8.0 be installed in droplet?

Posted on April 26, 2020

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



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.

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:

https://www.digitalocean.com/community/tutorials/how-to-install-the-latest-mysql-on-ubuntu-18-04

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:

https://dev.mysql.com/doc/refman/8.0/en/upgrading-what-is-upgraded.html

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

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.