Google APIs Console- Google Cloud Sql Tip

When trying to connect to Google SQL- Command line tool throws a Null Pointer exception during connection. The best way to come around it is to run the command line tool with this command

java -jar /Users/directory/Downloads/google_sql_tool/google_sql.jar mywebsite.com:mywebapp:mywebapp

Upon completing this command you will be prompted something like this:

Please authorize Google SQL Service for your Google Account at:

http://goo.gl/O323v332

Enter Authorization Code:

sql>

Then you will be getting a browser window that will ask for an oAuth authentication

Snapshot 9:29:12 8:51 AM.png

Upon completing this, you can verify database information using squirrelsql