I can’t get the answer from stack exchange because there’s no way to do it
as you mentioned. Then, let me change my question.
Why don’t you support TCP connection proxy for App Engine? Many modern SQL
libraries do not support UNIX connection, and it prevents us to use Cloud
SQL.

On Mon, Jun 25, 2018 at 1:30 PM 'Jordan (Cloud Platform Support)' via
Google App Engine <google-appengine@googlegroups.com> wrote:

> In-bound socket connections are not supported in App Engine (some
> runtimes
> <https://cloud.google.com/appengine/docs/standard/python/sockets/>support
> outbound connections with limitations). Therefore, the correct way to
> connect to your SQL instance from App Engine is via a UNIX socket
> connection from your application code to the local SQL proxy built into App
> Engine. This can be done easily via a supported API in the runtime language
> you chose as shown in the documentation
> <https://cloud.google.com/appengine/docs/standard/python/cloud-sql/using-cloud-sql-mysql#code_sample_overview>
>  (example
> for Python).
>
> - Note: Google Groups is reserved for general product discussions and is
> not for technical support. If you require further technical support for
> connecting your App Engine application to Cloud SQL, it is recommended to
> post your detailed questions <https://stackoverflow.com/help/how-to-ask>
> to Stack Exchang <https://cloud.google.com/support/docs/stackexchange>e
> using the supported Cloud tags.
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Google App Engine" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/google-appengine/qY00qmXpPPo/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at https://groups.google.com/group/google-appengine.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-appengine/87acab90-b9ee-4c31-a006-562780df2dcb%40googlegroups.com
> <https://groups.google.com/d/msgid/google-appengine/87acab90-b9ee-4c31-a006-562780df2dcb%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CAO1ewb2ZKTv7h5n_%2Bqx8Js7k878Yw-qKfe24F87W7L3PRsYSyw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to