1209 -The MySQL server is running with the --read-only option

2023-05-24,,

 

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

 

一般这个错误有两种原因:

1.连到从库了。从库一般设置为只读。

2.主库的read_only参数被修改为1

 

解决办法:set global read_only=0;

https://blog.csdn.net/lwei_998/article/details/50445830

https://stackoverflow.com/questions/35445190/strange-mysql-read-only-error

 

文章来源:刘俊涛的博客

欢迎关注,有问题一起学习欢迎留言、评论

 

每一个你不满意的现在,都有一个你没有努力的曾经。

1209 -The MySQL server is running with the --read-only option的相关教程结束。

《1209 -The MySQL server is running with the --read-only option.doc》

下载本文的Word格式文档,以方便收藏与打印。