开发者社区> 问答> 正文

RDS报错The MySQL server is running with the --rea...

已解决

RDS报错The MySQL server is running with the --read-only option so it cannot execute this statement

展开
收起
提个问题! 2024-06-07 16:14:45 57 0
1 条回答
写回答
取消 提交回答
  • 开发者社区问答官方账号
    官方回答
    采纳回答
    RDS实例迁移、升级版本、HA切换都会发生连接闪断及30秒以内的只读状态,处于只读状态时程序侧就会存在The MySQL server is running with the --read-only option的报错。
    实例是否发生HA切换,可以在RDS控制台>事件中心>历史事件中查看。
    2024-06-07 16:14:46
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
One Box: 解读事务与分析一体化数据库 HybridDB for MySQL 立即下载
One Box:解读事务与分析一体化数据库HybridDB for MySQL 立即下载
如何支撑HTAP场景-HybridDB for MySQL系统架构和技术演进 立即下载

相关镜像