Thursday, March 14, 2013

Re: Error to trying to connect Cloud SQL with Google SQL Tool

Yes, it is. I was expecting that it happen. But it doesn't happen.


On Thu, Mar 14, 2013 at 2:47 PM, Rob Clevenger <rcleveng@google.com> wrote:
I'm not sure what you are trying to say, sorry. 

If you delete the old tokens, it should prompt you to reauthorize yourself.

Rob



On Thu, Mar 14, 2013 at 10:41 AM, Fábio Peruchi <fhperuchi@ciandt.com> wrote:
Rob,

The domain sulamerica.com.br is from the client.  I work at an outsourcing company. My problem is that I'm not receiving the link to do the authentication on my client's machine.


On Thu, Mar 14, 2013 at 1:38 PM, Rob Clevenger <rcleveng@google.com> wrote:
Just an idea.

Please make sure when you authorize the right user when you authorize your oauth token.  Looks like this DB is for users in  sulamerica.com.br, your email is now coming from another Domain.  Please make sure you are using the correct google account.

Rob



On Thu, Mar 14, 2013 at 9:33 AM, Fábio Peruchi <fhperuchi@ciandt.com> wrote:
Hi guys!

Any other suggestions?



On Thu, Mar 14, 2013 at 12:05 PM, Fábio Peruchi <fhperuchi@ciandt.com> wrote:
Hi Razvan!

I did it. I removed the .java diretory that was in my user home directory and I got same error.


On Thu, Mar 14, 2013 at 12:00 PM, Razvan Musaloiu-E. <razvanm@google.com> wrote:
Can you try removing the OAuth tokens?

https://developers.google.com/cloud-sql/docs/external#deploying

-- Razvan ME


On Thu, Mar 14, 2013 at 7:55 AM, Fábio Peruchi <fhperuchi@ciandt.com> wrote:
More information, my Java version:

java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.1) (rhel-1.45.1.11.1.el6-x86_64)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)


On Thu, Mar 14, 2013 at 11:46 AM, Fábio Peruchi <fhperuchi@ciandt.com> wrote:
Hi!

I'm trying to connect to my instance and database in Cloud SQ and I'm getting this error:

-bash-4.1$ ./google_sql.sh sulamerica.com.br:services-saudeh:rederef-saudeh geolocalizacao
Exiting; Unable to open connection.
End user Google Account not authorized

The sql tool don't give me anymore the short URL to do the authentication with my account on Google.

What can I do to solve this problem?

I'm using the Linux version below:
Linux s01web201.sulamerica.br 2.6.32-279.el6.x86_64 #1 SMP Wed Jun 13 18:24:36 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux

Best regards.

Fábio Peruchi
Software Architect
e-mail / GTalk: fhperuchi@ciandt.com
Ci&T - business agility
Visit us at: www.ciandt.com

--
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.
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.
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.
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.
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.
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.
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.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment