MySQL创建函数时报This function has non

2019-03-12  本文已影响0人  wingedsnake

命令行下:

#查看变量
show variables like '%log_bin_trust_function_creators%';
#开启
set global log_bin_trust_function_creators=1;

这样添加参数后,如果mysql服务器重启,上述参数又会消失。需要永久生效,则需要在my.inimy.cnf[mysqld]中配置如下内容:

log_bin_trust_function_creators=1
上一篇 下一篇

猜你喜欢

热点阅读