wang8831567 2015-06-27 07:09 采纳率: 0%
浏览 711

在服务器的mysql中创建自定义函数出错

我的一台机器,连接服务器上mysql,创建自定义函数报错
[Err] 1418 - 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)
然后我设置set global log_bin_trust_function_creators = 1;
接着又报错,不知道如何解决
[Err] 1419 - You do not have the SUPER privilege and binary logging is enabled (you might want to use the less safe log_bin_trust_function_creators variable)
求大神们帮帮想办法

  • 写回答

1条回答 默认 最新

  • 恒悦sunsite 新星创作者: 运维技术领域 2023-08-02 09:48
    关注

    你这个是普通用户连接在创建函数吗?检查下用户是否有权限。

    评论

报告相同问题?