Wednesday, January 24, 2018

[google-cloud-sql-discuss] Re: Can not connect to Postgres instance

Hi Justin, 

Are you using App Engine Standard? I don't believe that the Node.js runtime supports connections with PostgreSQL on CloudSQL at this time.

Thanks,
Kurtis

On Tuesday, January 23, 2018 at 5:50:44 PM UTC-8, Justin Medina wrote:


On Monday, August 28, 2017 at 7:36:10 AM UTC-7, Nhat Khanh Le Dinh wrote:
My Postgres instance and deploy nodejs app are on the same project, I tried this connection string: pg://postgres:[Password]@/[DB]?host=/[Instance_name] but Knex always return this error: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call? How to fix this, thank you.
I tried this on my local machine (Allow my IP) and it works fine.

--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/8468ba50-e63d-4e81-8c15-14ccc45c164a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment