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
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.
Click below to sign up and get $100 of credit to try our products over 60 days!
Hi there @fiduliin,
I think that what you need to do is to change the
caching_sha2_password
tomysql_native_password
. You can do that by following the steps here:https://www.digitalocean.com/community/questions/how-to-change-caching_sha2_password-to-mysql_native_password-on-a-digitalocean-s-managed-mysql-database
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