解决方法如下:
1. mysql> set global log_bin_trust_function_creators = 1;
2. 系统启动时 --log-bin-trust-function-creators=1
3. 在my.ini(linux下为my.conf)文件中 [mysqld] 标记后加一行内容为 log-bin-trust-function-creators=1
在mysql 中创建任意函数,总是出现这个错误This function has none of DETERMINISTIC, NO SQL,
最新推荐文章于 2024-07-16 14:15:31 发布
本文介绍了解决MySQL中因log_bin_trust_function_creators设置导致无法创建函数的问题。提供了三种方法:临时通过mysql命令行设置、系统启动参数设置及在my.ini(my.conf)中配置。

599

被折叠的 条评论
为什么被折叠?



