Error code [1290]; The MySQL server is running with the --read-only option
Hi,
We have a MMM setup as below.
MMMHOST-01 (Monitor node)
MMMDB-01 (agent node - db1)
MMMDB-02 (agent node - db2)
MMMDB-01 and MMMDB-01 are the db servers with Master-Master replication and MMMHOST-01 is the MMM Monitor server.
Recently we got the error message in the app logs as below and the order has not been placed in the database servers.
SQL state [HY000]; error code [1290]; The MySQL server is running with the --read-only option so it cannot execute this statement;
nested exception is java.sql.
On that time, the db1 was connected as active node.
Please can you help us to fix this issue.
Thanks,
Mathiselvan M.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- mysql-mmm Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Mathiselvan for more information if necessary.