By fiduliin
Hi,
I’ve created a managed mysql in the same region as my droplet. I’ve added my droplet (ubuntu 18) and my PC IP as trusted sources.
ERROR 2059 (HY000): Authentication plugin ‘caching_sha2_password’ cannot be loaded: /usr/lib/x86_64-linux-gnu/mariadb18/plugin/caching_sha2_password.so: cannot open shared object file: No such file or directory
ERROR 2003 (HY000): Can’t connect to MySQL server on ‘private-db-mysql-fra1-82591-do-user-7505491-0.a.db.ondigitalocean.com’ (110 “Connection timed out”)
Can anyone point out what i might be doing wrong?
Best regards Mohammed
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!
Hi there @fiduliin,
I think that what you need to do is to change the caching_sha2_password to mysql_native_password. You can do that by following the steps here:
Regarding your Droplet, you would also need to open the Managed MySQL port for outgoing TCP connections and add your Droplet’s IP address to your Managed Database allow list.
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.