By mbrantley
How can I connect to a Managed Digital Ocean Database? I tried started a new droplet using the one-click PHPMyAdmin and altered the /etc/phpmyadmin/config.inc.php with the following
$i++;
$cfg['Servers'][$i]['host'] = '';
$cfg['Servers'][$i]['port'] = '';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['extension'] = 'mysql';
$cfg['Servers'][$i]['compress'] = FALSE;
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = '';
$cfg['Servers'][$i]['password'] = '';
Obviously I filled in the blanks with the information provided in the DB dashboard.
And yes I authorized the droplet to connect in the security settings.
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!
hey mbrantley,
you have to ForeceSSL to do that edit /etc/phpmyadmin/config.inc.php
and add this line at the end of the file
$cfg['ForceSSL'] = true;
also set auth_type to cookie
$cfg['Servers'][$i]['auth_type'] = 'cookie';
hopefully, this will solve your issue.
cheers, Ali
Hello,
There are a couple of things that I could suggest:
mysql_native_password and not caching_sha2_passwordhttps://www.digitalocean.com/community/questions/how-to-install-manually-phpmyadmin-on-ubuntu
This will allow you to have the latest PHPMyAdmin version which is compatible with MySQL 8.
Hope that this helps. Regards, Bobby
Hi @mbrantley,
Our below community article can guide you in setting up and connecting to MySQL Managed database via phpMyAdmin with SSL.
I hope this helps!
Regards, Rajkishore
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.