Question

How to setup ProxySQL for Managed Database

I have one managed mysql database and one ubuntu droplet. I want to setup ProxySQL on my droplet for multiplexing active connections to managed mysql.

I followed this tutorial for setting up ProxySQL https://www.digitalocean.com/community/tutorials/how-to-use-proxysql-as-a-load-balancer-for-mysql-on-ubuntu-16-04#step-1-—-installing-proxysql

But when i want to use ProxySQL connection it gives me SSL error.

According to ProxySQL documentation, I need CA certificate, Client certificate and Client key files for setting up SSL on ProxySQL.

https://proxysql.com/documentation/ssl-support/

But I can only get CA Certificate from managed database panel.

Is there any tutorial related with how can I install and configure ProxySQL for DO managed databases?


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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi there,

Usually, when connecting to the Managed databases it is enough to only specify the CA certificate. Have you tried adding theCA certificate only?

Regards, Bobby