Question

How to setup ProxySQL for Managed Database

Posted March 24, 2021 473 views
DigitalOcean Managed MySQL 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-%E2%80%94-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?

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.

×
Submit an Answer
1 answer

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