本文介绍了Google Cloud SQL导入-错误:HTTP错误403:客户端无权发出此请求的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我尝试使用以下命令导入存储在Cloud Storage中的数据库:
I trying to import a database stored in the Cloud Storage using the command:
gcloud sql instances import instance-name gs://connect-to-the-cloud-sql.appspot.com/my-cloud-sql-instance-backup
但是,我收到了错误消息:
But, I am getting error:
ERROR: (gcloud.sql.instances.import) HTTPError 403: The client is not authorized to make this request.
我已经使用以下方式登录:
I've already logged in using:
gcloud auth login
推荐答案
确保实例名称正确.我遇到了同样的错误,我更正了实例名称后它就消失了.
Make sure the instance-name is correct. I had the same error, it went away as soon as I corrected the instance-name.
这篇关于Google Cloud SQL导入-错误:HTTP错误403:客户端无权发出此请求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!