This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled

MYSQL 创建函数,报错:

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;

This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled

上一篇:mysql int() 括号中数值的作用


下一篇:java.lang.ClassNotFoundException: com.mysql.jdbc.Driver