Tuesday, April 16, 2019

[google-cloud-sql-discuss] Re: Can't connect to MySQL Cloud Instance from an other App Engine

Hi Vanessa,

I recommend to take the steps mentioned in this guideline. If you would like to test your app locally, you should set up your local environment and use the TCP port 3306 to connect from the proxy to the Cloud SQL instance. 

Once you deploy your app on App Engine, your app uses the Cloud SQL Proxy that is built in to the App Engine runtime environment to communicate with your Cloud SQL instance.

If your App Engine app is located in another project that your Cloud SQL instance resides, you should consider these additional steps as well. Note that you should grant "Cloud SQL Admin" role to the App Engine default service account too. 

--
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/ced44084-057d-4cc7-8faf-0dbfec771027%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment