fucntion 생성시 오류발생 - 

ERROR 1418 (HY000): 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)


my.cnf 파일 mysqld 설정 확인

--log-bin-trust-function-creators=1 


설정파일 수정하면 재시작 해야하니 명령어 실행

mysql>SET GLOBAL log_bin_trust_function_creators = 1; 


//1=on을 의미하고 0은 off를 의미한다 

'database' 카테고리의 다른 글

mysql table, column 구조 확인  (0) 2020.01.09
오라클 database 버전확인  (0) 2015.12.08
mysql 트리거 생성시 function 생성 오류  (0) 2015.05.13
오라클 LISTAGG  (0) 2014.12.04
오라클 특수문자 제거  (0) 2014.12.02
Posted by 우주정복☆
,