Home > Blockchain >  unable to connect cloud sql from app engine
unable to connect cloud sql from app engine

Time:05-20

I am new to GCP. I created a cloud-SQL instance (PostgreSQL 14) and tried to connect to it from the app engine.

I am using the following code on github. enter image description here

I am not able to figure out where I am going wrong. any help is appreciated. thanks!

CodePudding user response:

I managed to replicate the github link you provided. I solved it by renaming the main_postgres.py file to main.py. Here's the screenshot of the output link: enter image description here

CodePudding user response:

This issue dont seems related to DB but your application configuration. check errors by running this in cloud shell when you hit appengine url.

gcloud app logs tail

  • Related