Trouble connecting remote mysql managed database to one-click phpmyadmin

Good Morning,

I created a mysql managed database (open to all incoming connections/raw initial setup). I then created a one-click phpmyadmin droplet from the marketplace, as I would like to create a web-based ui for managing my mysql managed database as I use chrome os more often than not, and would prefer to not use desktop apps for accessing and managing my databases/web projects in general and keep my development process browser-based.

I then updated the phpmyadmin mysql to mysql 8, and tried to add the managed database server to the /etc/phpmyadmin/ file. i.e.: $i++; $cfg[‘Servers’][$i][‘verbose’] = ‘CLUSTER’; $cfg[‘Servers’][$i][‘host’] = ‘’; $cfg[‘Servers’][$i][‘port’] = 25060; $cfg[‘Servers’][$i][‘socket’] = ‘’; $cfg[‘Servers’][$i][‘auth_type’] = ‘config’; $cfg[‘Servers’][$i][‘ssl’] = true; $cfg[‘Servers’][$i][‘user’] = ‘doadmin’; $cfg[‘Servers’][$i][‘password’] = ‘mypassword’;

However, no matter what I add or modify, I cannot get the new server database to appear anywhere on ip/phpmyadmin when logging in or when logged on.

My primary question would be what I am missing in terms of the connection details for the config file or if I need to update another file somewhere or something else I am missing completely.

But also if anyone has any recommendations about better alternatives then phpmyadmin for a browser-based database manager ui for mysql, that would be some-what easy for a novice like myself to install and use, I wouldn’t mind going that route either.

I do like phpmyadmin and am familiar with it, and figured the one-click is decent enough to use.

Any help and/or guidance would be much appreciated.

Thank you,


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.

Bobby Iliev
Site Moderator
Site Moderator badge
May 6, 2020
Accepted Answer

Hi there @meloku,

I think that the PHPmyAdmin that ships with Ubuntu 18.04 has some issues connecting to MySQL 8, what you could do instead of using the 1-Click PHPmyAdmin install is to just install PHPmyAdmin manually so that you get the latest PHPmyAmin version.

You can follow the steps here:

Also, note that you might have to change caching_sha2_password to mysql_native_password for your MySQL user so that PHPmyAdmin could connect to your managed cluster, you can follow the steps on how to do that here, it also includes a short video demo:

What I could suggest is rather than using PHPmyAdmin is to use an application like dbeaver or table plus. The downside is that you need to install the applications on your PC.

Let me know how it goes! Regards, Bobby

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Featured on Community

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel