美文网首页
MySQL创建函数时报This function has non

MySQL创建函数时报This function has non

作者: wingedsnake | 来源:发表于2019-03-12 15:50 被阅读0次

命令行下:

#查看变量
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

相关文章

网友评论

      本文标题:MySQL创建函数时报This function has non

      本文链接:https://www.haomeiwen.com/subject/chdnpqtx.html