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/config.inc.php file. i.e.: $i++; $cfg[‘Servers’][$i][‘verbose’] = ‘CLUSTER’; $cfg[‘Servers’][$i][‘host’] = ‘nottheprivatehost-0.db.ondigitalocean.com’; $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,
-Matt
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!
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:
https://www.digitalocean.com/community/questions/how-to-install-manually-phpmyadmin-on-ubuntu
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
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.