Why do I need to upgrade local mysql to 8 to access managed database?

Posted November 12, 2019 1.3k views


I’m confused as to why my local environment needs to upgrade the mysql version to 8.0 in order to connect to DO managed database?

Is this because the way DO makes the connection isn’t via SSH? It just seems a bit silly that you’re paying for an external server to run your database, but yet, any instance that wants to connect with it also has to run the same version of the database.

Am I missing something?

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.

Submit an Answer
1 answer


No, it is not a DigitalOcean specific problem. MySQL 5.x client are just not compatible with MySQL 8.x servers. So in order to connect to MySQL 8.x server you need a MySQL 8.x client.

Hope that this helps.

  • Right, but do you know why that is? Is that because of the SSL connection? Because if you could SSH into it, then you’d be using the db server resources/hardware.

    • Hi @aflores,

      It is two separate things, in order to connect to MySQL 8.x server you need a MySQL 8.x client, this is a standard thing. The SSH connection is a separate case, the managed database servers do not come with SSH access.

      So for example if you are on a Mac, you could install TablePluse and when you try to add a new connection you would be asked to select the MySQL version that you would like to use. By selecting MySQL 8.x then you would be able to connect just as normal.

      Hope that this helps!