欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  数据库

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

程序员文章站 2024-01-02 23:16:40
...
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)
求大神们帮帮想办法

相关标签: mysql

上一篇:

下一篇: