命令行下:
#查看变量
show variables like '%log_bin_trust_function_creators%';
#开启
set global log_bin_trust_function_creators=1;
这样添加参数后,如果mysql服务器重启,上述参数又会消失。需要永久生效,则需要在my.ini或my.cnf的[mysqld]中配置如下内容:
log_bin_trust_function_creators=1
命令行下:
#查看变量
show variables like '%log_bin_trust_function_creators%';
#开启
set global log_bin_trust_function_creators=1;
这样添加参数后,如果mysql服务器重启,上述参数又会消失。需要永久生效,则需要在my.ini或my.cnf的[mysqld]中配置如下内容:
log_bin_trust_function_creators=1