java.sql.SQLException: An OAuth2 refresh or access token was not able to be loaded. Please connect with the Google Cloud SQL tool at least one time to enable access to your hosted instance.

Google Groups | Patrice De Saint Steban | 4 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Can't enable Google Cloud SQL in eclipse Juno

    Google Groups | 4 years ago | Patrice De Saint Steban
    java.sql.SQLException: An OAuth2 refresh or access token was not able to be loaded. Please connect with the Google Cloud SQL tool at least one time to enable access to your hosted instance.

    Root Cause Analysis

    1. java.sql.SQLException

      An OAuth2 refresh or access token was not able to be loaded. Please connect with the Google Cloud SQL tool at least one time to enable access to your hosted instance.

      at com.google.appengine.api.rdbms.dev.LocalRdbmsServiceRemoteDriver.openConnection()
    2. com.google.appengine
      LocalRdbmsService.openConnection
      1. com.google.appengine.api.rdbms.dev.LocalRdbmsServiceRemoteDriver.openConnection(LocalRdbmsServiceRemoteDriver.java:177)
      2. com.google.appengine.api.rdbms.dev.LocalRdbmsService.openConnection(LocalRdbmsService.java:121)
      2 frames