【发布时间】:2017-12-12 10:07:10
【问题描述】:
我正在尝试使用 google cloud sql 遵循 python 教程。
当我运行时:./cloud_sql_proxy -instances="My-connection-name"=tcp:3306,我得到google: could not find default credentials. See https://developers.google.com/accounts/docs/application-default-credentials for more information.。
另外,当我运行:gcloud auth application-default login,我得到www.googleapis.com%2Fauth%2Fcloud-platform&access_type=offline" doesn’t understand the “open location” message. (-1708)
我跟着下载了凭据的 json 文件,并将 enviromnet virable GOOGLE_APPLICATION_CREDENTIALS 设置为链接到 json 文件,但我仍然得到同样的错误。
【问题讨论】:
标签: google-cloud-sql gcloud google-authentication