Error Code: 1418

Error Code: 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=TRUE; 就可以了

posted @ 2015-12-09 15:59  webzhang  阅读(285)  评论(0编辑  收藏  举报