본문 바로가기

DBMS/MySQL & MariaDB

Mysql 1418 Error : This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA

 

Stored Procedure 을 생성하다 발생한 1418 ERROR

 

해결방법

  • show global variables like 'log_bin_trust_function_creators';   (root 계정으로 접속해야함)

 

  • off 값을 on으로 변경
  • SET GLOBAL log_bin_trust_function_creators='ON';