AWS Aurora: The MySQL server is running with the --read-only option so it cannot execute this statement

后端 未结 2 507
终归单人心
终归单人心 2021-02-12 03:47

I am getting this error when executing a GRANT statement on my Aurora DB instance in AWS:

The MySQL server is running with the --read-only op

2条回答
  •  耶瑟儿~
    2021-02-12 04:22

    You need to connect to the cluster, rather than an instance. This is because instances seem to take a turn to be the readers and writers.

提交回复
热议问题