Connect AWS hosted Grafana Instance to AWS Relational Database Service (SQL) As a Datasource


I’m new to Grafana, and we are trying to connect Grafana Bitnami instance (hosted on AWS) from within our VPC to our private Relational Database (RDS) also residing in the same VPC.

So, what I do is simply put the RDS url in the hostname, and input the correct username and password and database name. When I want to connect, I get the following error:

dial tcp 172.XX.XX.XXX:3306: connect: connection timed out

But then, I can successfully telnet to the same RDS through the SSH of my grafana bitnami instance. I’m not sure what the problem is :confused:

Any help will be greatly appreciated!