Saturday, July 27, 2013

Re: Cloud SQL and the Eclipse Plugin.

Still no success =( I get the same error. 

Could not connect to Profile ([APPNAME]-AppEngine.GoogleCloudSQL.DevInstance).
Error creating SQL Model Connection connection to Profile ([APPNAME]-AppEngine.GoogleCloudSQL.DevInstance). (Error: null)
java.lang.NullPointerException
OK

Cheers

On Friday, 26 July 2013 21:38:35 UTC+10, Vladimir Ralev wrote:

Try to connect from the google sql command line tool once from the same user that starts the eclipse process. There are some tokens that need to be deployed in the user config directory. The command line tool does it automatically for you. I never had success doing this step manually even though in theory it is possible. All of this is assuming you are using the correct jdbc driver for google and not mysql.

On Jul 26, 2013 1:28 PM, "Ben Evans" <benny.j...@gmail.com> wrote:
Hi all,

I'm currently trying to get cloud sql working with with an app engine app however I keep receiving the following with the eclipse plugin:

Could not connect to Profile ([APPNAME]-AppEngine.GoogleCloudSQL.DevInstance).
Error creating SQL Model Connection connection to Profile ([APPNAME]-AppEngine.GoogleCloudSQL.DevInstance). (Error: null)
java.lang.NullPointerException
OK

I am logged into eclipse, I have billing enabled and the db instance is running. I'm using root as the username and not entering anything as the pass. I'm pretty sure the dbname and instance names are correct as changing them provides additional errors stating the instance cannot be found or the db does not exist.

Any help on solving this error would be much appreciated.

Cheers

--
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/f82c2d9f-efe8-468c-b1ea-87c214edc2ed%40googlegroups.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/ed58524d-dd61-4fb8-8e36-b1ff2abb58b0%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment