This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its de

我需要创建一个mysql函数,但是在navicat里的

 

 这里右击新建的时候,提示This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled

解决方式,直接新建查询

 

 在创建函数的前一行插入

set global log_bin_trust_function_creators=TRUE

posted @ 2022-06-27 09:35  fpc  阅读(188)  评论(0编辑  收藏  举报