How do i connect google cloud sql with circle-ci?

Before performing deployment, i have run some test cases. Some of test cases required database connection. So how do i suppose to connect circle-ci with cloud sql in order to use database. I tried via google proxy authorization but it failed.