If get the error like above simply follow the below step to resolve it.
MySQL Error 1418
ERROR 1418 (HY000) at line 5: 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)
Type below command in your mysql command prompt:
MySQL Error 1418
ERROR 1418 (HY000) at line 5: 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)
Type below command in your mysql command prompt:
# mysql -u root -p
MySQL> SET GLOBAL log_bin_trust_function_creators = ON;OR
MySQL> # SET GLOBAL log_bin_trust_function_creators = 1;
********************
No comments:
Post a Comment