Wednesday, December 5, 2012

Re: Can't Connect AppEngine project to Could SQL in Eclipse Plugin

Sorry to hear about the trouble you are having connecting to Cloud SQL. Could you please provide which OS, version of Eclipse and GPE you are using?

1. Could you confirm you are logged into the plugin (bottom right) with a login authorized to access the Cloud SQL instance?
2. Please attempt the process with the full instance name and database only, leaving username and password blank

Thanks,

Sachin.-

On Tuesday, December 4, 2012 9:43:13 PM UTC-5, Chicago wrote:
Yes, confirmed I can connect to this database using the google_sql.cmd command line utility.

On Monday, December 3, 2012 1:52:46 AM UTC-6, Razvan Musaloiu-E. wrote:
Quick question: were you able to connect to the instance using the google_sql.sh command line utility?

-- Razvan ME


On Sat, Dec 1, 2012 at 7:50 PM, Chicago <ad...@collegecalc.org> wrote:
I've been attempting for several days to configure a Cloud SQL instance in the GAE project properties / Google / AppEngine / Google Cloud SQL Eclipse menu.  I'm certain my application is correctly authorized in my Cloud SQL instance.  Within Eclipse I'm passing the exact full instance name from the Cloud SQL dashboard, a valid database name, root as database username and empty password.  All I get is the following error

Could not connect to Profile ([PROJECT NAME].GoogleCloudSQL.DevInstance).
Error creating SQL Model Connection connection to Profile ([PROJECT NAME].GoogleCloudSQL.DevInstance). (Error: End user Google Account not authorized.)
End user Google Account not authorized.
Error creating Google Cloud SQL Connection factory connection to Profile ([PROJECT NAME].GoogleCloudSQL.DevInstance). (Error: End user Google Account not authorized.)
End user Google Account not authorized.

The only thing I can think of is I don't have billing enabled for the GAE application but do for Cloud SQL.  I've been working with GAE for a while and love it.  Looking forward to integrating Cloud SQL in my project but this is a pain.  Any ideas?  Thanks.

No comments:

Post a Comment