简体   繁体   中英

ERROR: (gcloud.sql.instances.describe) HTTPError 404: The Cloud SQL instance does not exist, but it does exist?

I'm getting this error:

ERROR: (gcloud.sql.instances.describe) HTTPError 404: The Cloud SQL instance does not exist.

When calling:

gcloud sql instances describe my-project

from my windows cmd within the Google Cloud SDK Shell. However, when I look at my instances on my Google Cloud Platform interface I can see that the corresponding instance. All indicates that it DOES exist. Anyone have a solution?

LundinCast had the right answer in comments. Your problem can be resolved by following the instance name with --project="[projectname]" .

Try to run following to list your instances:

gcloud sql instances list

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM