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

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

Please authorize Google SQL Service for your Google Account at:

Enter Authorization Code:


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