关键词搜索

源码搜索 ×
×

1418 -This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration

发布2022-06-01浏览1584次

详情内容

今天在mysql中创建函数的时候,报错如下:

ERROR 1418 (HY000): This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled (you might want to use the less safe log_bin_trust_function_creators variable)

出现这个错误的原因是,不知道啥时候开启了bin-log。

解决办法:

set global log_bin_trust_function_creators=TRUE;

    相关技术文章

    点击QQ咨询
    开通会员
    返回顶部
    ×
    微信扫码支付
    微信扫码支付
    确定支付下载
    请使用微信描二维码支付
    ×

    提示信息

    ×

    选择支付方式

    • 微信支付
    • 支付宝付款
    确定支付下载