Wednesday, August 7, 2013

Re: Cannot authorize Google Cloud SQL Commandline Tool

OK looks like this is an outdated way to connect. One should keep in mind, that the java-version requires python 2.7 as well. Also don't use the google_sql.sh-Script in platform/google_sql_tool/google_sql.sh but in bin. After that (and using the right param for remote-oauth2-link generation, it's "--no-launch-browser" not "--noauth_local_webserver" as the script suggests), I have my credentials, but a similar output:

./google_sql.sh instance
Exiting; Unable to open connection.
java.security.ProviderException: Could not initialize NSS


2013/8/7 Dominik Peuscher <dpeuscher@gmail.com>
It looks like the java version for "Linux / Other Platforms" (https://dl.google.com/dl/cloudsdk/google-cloud-sdk-0.9.7-linux-java.zip) is not java but python. Also in this package the commandline tool (platform/google_sql_tool/google_sql.sh) is the same as the one I downloaded first (Release 10).


2013/8/7 Dominik Peuscher <dpeuscher@gmail.com>
This one: https://developers.google.com/cloud-sql/docs/commandline?hl=de At "Setup" Step 1.

Thanks for your support


2013/8/7 Rob Clevenger <rcleveng@google.com>
Thanks. What page linked to that version, that version is out dated.

Please download the cloud SDK from https://developers.google.com/cloud/sdk/
This includes a newer version of the tool.

Rob



On Wed, Aug 7, 2013 at 9:14 AM, Dominik Peuscher <dpeuscher@gmail.com> wrote:
I got it from here (today): http://dl.google.com/cloudsql/tools/google_sql_tool.zip and it seems to be Release 10:
./google_sql.sh --version
Google SQL Service tool. Release 10

Dominik


2013/8/7 Rob Clevenger <rcleveng@google.com>

On Wed, Aug 7, 2013 at 7:15 AM, Dominik Peuscher <dpeuscher@gmail.com> wrote:

Which version of the command line tool are you using?  Which cloud SDK or AppEngine SDK version included it?

Rob

--
You received this message because you are subscribed to a topic in the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-cloud-sql-discuss/b5x9YGd4Ovg/unsubscribe.
To unsubscribe from this group and all its topics, 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/CA%2BbE6i0KWj-6-mZHBY2XB2kUifnYP3o2BF9%3Dvk%3D6-3-e2q7%3Dyg%40mail.gmail.com.

For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
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/CAEt%3DLbkj-9Ura4mmCUP8hDHvwFMe7FReK69if8WHachTn0KUFg%40mail.gmail.com.

For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
You received this message because you are subscribed to a topic in the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-cloud-sql-discuss/b5x9YGd4Ovg/unsubscribe.
To unsubscribe from this group and all its topics, 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/CA%2BbE6i0-RFTb-p_fMQ-zYK2%3D4DVS3r1se4zCDOcdV4V8aoLyFg%40mail.gmail.com.

For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
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/CAEt%3DLb%3Dk_qvtU%2BBFNiGkaHotzfYRuuYGC_eTJuZjW%3DLLfePwiw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment