Search
 
SCRIPT & CODE EXAMPLE
 

SQL

Caused by: java.lang.RuntimeException: Unable to obtain credentials to communicate with the Cloud SQL API

This error comes if "application_default_credentials.json" file is not there in "C:Users<USER_NAME>AppDataRoaminggcloud"

To populate this JSON file, run below command in cmd prompt;

command : gcloud auth application-default login

So this will create "application_default_credentials.json" file in the above directory. Now, you can restart your spring boot application.
Comment

PREVIOUS NEXT
Code Example
Sql :: SQL AVG() Function 
Sql :: connect to mysql server mac terminal 
Sql :: find all tables where column name exists oracle 
Sql :: Rows, INSERT INTO, Returning 
Sql :: how to add more columns to a table in mysql 
Sql :: alter session set nls_language french 
Sql :: check ksql db health 
Sql :: mysql grouping functions 
Sql :: how to limited number of rows in db2 select * from imglib FETCH FIRST 20 ROWS ONLY 
Sql :: postgres insert into table 
Sql :: Postgres format number to 2 decimal places 
Sql :: sql order 
Sql :: sql field equals multiple values 
Sql :: split string and copy last element postgresql 
Sql :: mysql average from two table 
Sql :: Write the order of execution of all the SQL clauses and statements 
Sql :: To log postgres db in without a password 
Sql :: postgresql like 
Sql :: mysql dump structure only 
Sql :: mysql create view 
Sql :: between keyword sql 
Sql :: how to get the previous day on mysql 
Sql :: what is postgresql 
Sql :: sql commands 
Sql :: min max in sql 
Sql :: local pg_sql to heroku pg_sql 
Sql :: SQL Addition Operator 
Sql :: character count sql 
Sql :: sql output parameters 
Sql :: what is common table expression in sql 
ADD CONTENT
Topic
Content
Source link
Name
9+7 =