解决办法:设置临时环境变量 set global log_bin_trust_function_creators=1; 转载于:https://www.cnblogs.com/xingphimo/p/9486358.html