Thursday, December 27, 2012

Re: Passing proxy settings to connect Cloud SQL using command line tool

Hey Fabio, 

Did this work for you in the end? No matter what I try, I only ever seem to get the following...

Exiting; Unable to open connection.
Unable to fetch OAuth2 tokens.

Very frustrating. Any advice appreciated, 

Cheers, 
Al

On Thursday, November 8, 2012 6:46:56 PM UTC, Fábio Peruchi wrote:
Thansk Rob!

Em quinta-feira, 8 de novembro de 2012 16h40min00s UTC-2, Rob escreveu:
The arguments you will want are from here.


I'd change the following line:

${JAVA} -jar "${JAR}" "$@"

to something like:

${JAVA} -jar "${JAR}" -Dhttp.proxyPort=8080 -Dhttp.proxyHost=webcache.mydomain.com "$@"


On Thu, Nov 8, 2012 at 10:38 AM, Rob Clevenger <rcle...@google.com> wrote:
You'll need to edit google_sql.sh (or .cmd) to setting the system properties used by Java for http proxy server support.


On Thu, Nov 8, 2012 at 10:35 AM, Fábio Peruchi <fhpe...@ciandt.com> wrote:
Hi!

Can I pass proxy server settings to connect to Cloud SQL via command line tool (google_sql) ? I can't find this information in command line tool documentation (https://developers.google.com/cloud-sql/docs/commandline).

Thanks in advance.

Fábio Peruchi


No comments:

Post a Comment