Thursday, October 24, 2013

connect to multiple cloud sql instances/databases from dev server?

How do i connect to multiple instances from the dev server?
There must be some way around the hard coded 1 instance 1 database in the Eclipse setup.

what i need to do:

connect to /instance1/db3 read some info
connect to /instance2/dbxyz read and write some info

right now i'm connecting with a string like this: 

 "jdbc:google:rdbms://" + MASTER_INSTANCE_NAME + "/" + MASTER_DATABASE_NAME;


--
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/1edb9aad-6b28-4f62-b7fe-67e1cf06bd77%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment