從庫 對錶做truncate 時報1209 - The MySQL server is running with the--read-only option so it cannot execute this statement
處理:
select @@read_only;
set global read_only=0;
truncate table *.*
set global read_only=1;
從庫 對錶做truncate 時報1209 - The MySQL server is running with the--read-only option so it cannot execute this statement
處理:
select @@read_only;
set global read_only=0;
truncate table *.*
set global read_only=1;
一. 二. 三. ! 作 者 : Yaopengfei(姚鵬飛) 博客地址 : http://www.cnblogs.com