1. mysql> SET GLOBAL log_bin_trust_function_creators = 1;
2. 修改my.conf文件中 [mysqld] 标记后加一行内容为 log-bin-trust-function-creators=1