问题描述:

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."

相关阅读:
Top