我让gcloud在power shell中工作:
> gcloud version
Google Cloud SDK 375.0.0
bq 2.0.74
core 2022.02.25
gsutil 5.6
我一直试图按照以下指示来让我的Studio连接到Google服务:https://cloud.google.com/sql/docs/sqlserver/connect-admin-proxy#start-proxy
但我知道这个错误:
PS C:\gcloud_stuff> ./cloud_sql_proxy -instances=<my instance connection>=tcp:1433
2022/03/06 02:02:51 GcloudConfig: error reading config: exit status 1; stderr was:
The system cannot find the path specified.
The system cannot find the path specified.
2022/03/06 02:02:51 google: could not find default credentials. See https://developers.google.com/accounts/docs/application-default-credentials for more information.
有人知道怎么解决这个问题吗?(我是Google Cloud的新手)
发布于 2022-03-07 17:24:16
看来你没有本地的凭据。
您可以运行gcloud auth login
并再试一次。或者,您可以创建一个服务帐户密钥,并使用-credentials_file
标志将其传递给代理。有关细节,请参阅代理文档。
https://stackoverflow.com/questions/71368361
复制相似问题