当前位置: 动力学知识库 > 问答 > 编程问答 >

google cloud sql - ERROR: (gcloud.sql.instances.set-root-password) The instance or operation is not in an appropriate state to handle the request

问题描述:

I have a second gen. cloud-sql instance that has been created in our GCP project using mysql 5.7. Nothing else has been done after using the console to create this instance. If I try to execute ...

$ gcloud sql instances set-root-password my_instance --password my_password

I get the error

"ERROR: (gcloud.sql.instances.set-root-password) The instance or

operation is not in an appropriate state to handle the request."

If I try:

$ gcloud beta sql users list --instance my_instance

I get:

"ERROR: (gcloud.beta.sql.users.list) This operation isn"t valid for

this instance."

分享给朋友:
您可能感兴趣的文章:
随机阅读: