Aurora failover breaks jobs servers #33933
Unanswered
Manikandan85
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I am using AWS Aurora with write and read servers with respective endpoints. When an Aurora fail over happens, read server gets switched to write servers.
After that switch, the database connections still goes to read server instead of write server. I think some DNS caching is happening there.
"SQLSTATE[HY000]: General error: 1290 The MySQL server is running with the --read-only option so it cannot execute this statement "
Is there any good solution to fix?
Beta Was this translation helpful? Give feedback.
All reactions