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
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  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