Question

How can Mysql 8.0 be installed in droplet?

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

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.

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