1
votes

I am trying to connect to my google cloud SQL database from my Laravel files which are in Google App Engine but I get the error shown in the screenshot below. I have my username, password and all required details in my .yaml file. What could I be doing wrong?

enter image description here

1

1 Answers

0
votes

The problem was with my hostname. I was using localhost instead of my SQL instance's IP.