主从复制环境下的安全选项、及错误:ERROR 1418 (HY000):log_bin_trust_function_creators
【防止mysql例程的 “不确定性” 造成数据主从不一致】
SET GLOBAL log_bin_trust_function_creators = 1;
-- do somethine ...
SET GLOBAL log_bin_trust_function_creators = 0; --默认
【防止mysql例程的 “不确定性” 造成数据主从不一致】
SET GLOBAL log_bin_trust_function_creators = 1;
-- do somethine ...
SET GLOBAL log_bin_trust_function_creators = 0; --默认