Re: [google-appengine] Re: NodeJS AppEngine App error connecting to Google Cloud SQL

2019-04-24 Thread Learn GCP with Mahesh
The connection string cannot have IP address in App Engine Standard. It should you Instance Connection Name. https://www.youtube.com/watch?v=T0P6qsTuh1s will explain basics of App Engine Standard. If you want to using IP address then Serverless VPC https://cloud.google.com/vpc/docs/configure-s

Re: [google-appengine] Re: NodeJS AppEngine App error connecting to Google Cloud SQL

2019-04-23 Thread Jason Collins
The connection technique is different in Standard I believe. In particular, note the "config.socketPath" in the link I sent. > > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails fr

Re: [google-appengine] Re: NodeJS AppEngine App error connecting to Google Cloud SQL

2019-04-23 Thread Cristian Bullokles
What do you mean by doesn't look right to me? I deploy exactly the same code in Standard and it does not work, but if I deploy it using Flex, it does work. On Tue, Apr 23, 2019 at 5:40 PM Jason Collins wrote: > Your connection string doesn't look right to me. Check out this example: > https:

Re: [google-appengine] Re: NodeJS AppEngine App error connecting to Google Cloud SQL

2019-04-23 Thread Jason Collins
Your connection string doesn't look right to me. Check out this example: https://cloud.google.com/appengine/docs/standard/nodejs/using-cloud-sql#setting_connection_strings_and_adding_a_library -- You received this message because you are subscribed to the Google Groups "Google App Engine" group.

[google-appengine] Re: NodeJS AppEngine App error connecting to Google Cloud SQL

2019-04-23 Thread cristian . bullokles
This is the repository: https://github.com/cbullokles/appengine-error On Monday, April 22, 2019 at 11:32:48 PM UTC-3, cristian...@gmail.com wrote: > > > Hi, > I'm trying to connect a simple NodeJS App (A REST API) deployed into > AppEngine to a Google Cloud SQL instance. > Every time

Re: [google-appengine] Re: NodeJS AppEngine App error connecting to Google Cloud SQL

2019-04-23 Thread Cristian Bullokles
The repo is: https://github.com/cbullokles/appengine-error On Tue, Apr 23, 2019 at 5:11 PM Jason Collins wrote: > Can you post your repro? > > On Monday, 22 April 2019 19:32:48 UTC-7, cristian...@gmail.com wrote: >> >> >> Hi, >> I'm trying to connect a simple NodeJS App (A REST API) deploy

[google-appengine] Re: NodeJS AppEngine App error connecting to Google Cloud SQL

2019-04-23 Thread Jason Collins
Can you post your repro? On Monday, 22 April 2019 19:32:48 UTC-7, cristian...@gmail.com wrote: > > > Hi, > I'm trying to connect a simple NodeJS App (A REST API) deployed into > AppEngine to a Google Cloud SQL instance. > Every time I deploy the app using a flex environment, it works >