Drone server RDS mysql connection

deploying drone with helm chart 0.8.6

passing below params
server:
env:
DRONE_DATABASE_DRIVER: mysql
DRONE_DATABASE_DATASOURCE: root:[email protected](master.commerce.dev.niki.ai:3306)/drone?parseTime=true

gives error as
time=“2018-08-23T17:23:26Z” level=info msg=“database ping failed. retry in 1s”

Please help.

RDS blocks all incoming connections by default. Have you whitelisted the Drone server IP address or setup database security groups are verified they are properly configured? The only reason for a ping error would be networking or authentication (invalid credentials) and in this case it is most likely networking.