Saturday, September 24, 2016

[google-cloud-sql-discuss] A GCE instance connecting to two (or more) Cloud SQL databases via multiple cloud-sql-proxy-instances?

Hi,

My app on a GCE instance needs to connect to two Cloud SQL databases.

Can I run two instances of cloud_sql_proxy and point use different "local port + cloud instance name" combinations for them?

I gave it a quick try and was able to put data in both the DBs through different port-based proxies, but I just want to be sure that it's something that's officially supported and expected to cleanly work.

Could someone please confirm?

Thanks,
Roshan

--
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/e67be789-a6a9-4bed-b487-e3ed9470cf2c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment