반응형
SMALL
mysql에 대한 function 관련 에러가 발생했다.
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)
위의 에러문에서 언급된 log_bin_trust_function_creator 옵션은 function, trigger 생성 시 제약을 강제하는 옵션이며, default 상태는 OFF 이다.
이런 OFF 상태일 경우 tirgger 및 function 생성을 못하게 하기 때문에, 이 부분에 대한 설정을 수정해야 한다.
위와 같은 에러가 발생 시,
log_bin_trust_function_creators 옵션을 ON 해준다.
show global variables like 'log_bin_trust_function_creators'; -> OFF 로 되어있을 것이다.
SET GLOBAL log_bin_trust_function_creators=ON;
|
반응형
LIST
'IT tech > Trouble Shooting' 카테고리의 다른 글
좀비 프로세스 죽이기 (0) | 2023.04.28 |
---|---|
passwd module is unknown 에러 (0) | 2023.04.28 |
clnt_create: RPC: Port mapper failure - Unable to receive: errno 113 (No route to host) (0) | 2023.04.28 |
Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast 오류 (0) | 2023.04.28 |
Ubuntu에 Zabbix-agent 설치 오류 (0) | 2023.04.28 |