We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm setting up an Go App Engine flexible environment that can connect to Second Gen Cloud SQL instance.
The method provided in this repo requires authorizations for 0.0.0.0/0 so it's really insecure.
There is suppose to be another method: https://cloud.google.com/sql/docs/app-engine-connect#gaev2-csqlv2 However, it leads to an unknown network cloudsql or if the cloudsql dialer is added cloudsql: not supported in App Engine "flexible environment" error. (here is the reason for the second error https://github.com/golang/appengine/blob/master/cloudsql/cloudsql_vm.go)
unknown network cloudsql
cloudsql: not supported in App Engine "flexible environment"
Is the document on the cloud.google.com page suppose to work? If so, could the example in this repo be updated to show how to do this?
@broady
The text was updated successfully, but these errors were encountered:
You're right. Thanks for the report. I noticed this today, as well. I couldn't get it to work, either.
Sorry, something went wrong.
Instructions updated: https://cloud.google.com/appengine/docs/flexible/go/using-cloud-sql
broady
No branches or pull requests
I'm setting up an Go App Engine flexible environment that can connect to Second Gen Cloud SQL instance.
The method provided in this repo requires authorizations for 0.0.0.0/0 so it's really insecure.
There is suppose to be another method: https://cloud.google.com/sql/docs/app-engine-connect#gaev2-csqlv2
However, it leads to an
unknown network cloudsql
or if the cloudsql dialer is addedcloudsql: not supported in App Engine "flexible environment"
error. (here is the reason for the second error https://github.com/golang/appengine/blob/master/cloudsql/cloudsql_vm.go)Is the document on the cloud.google.com page suppose to work? If so, could the example in this repo be updated to show how to do this?
@broady
The text was updated successfully, but these errors were encountered: