-
This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabledProgrammer/Mysql 2015. 3. 15. 15:41
mysql 에서 function을 추가하려 SQL create query를 복사후 실행했더니 다음과 같은 오류가 발생하며 생성되지 않았다.
This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled
엇 이게 뭐지 했는데, 구글신 영접하여 확인해보니 환경설정이 되어있지 않아서 생기는 문제란다.
http://www.jamediasolutions.com/blog/deterministic-no-sql-or-reads-sql-data-in-its-declaration.html
가볍게 설정하려 했으나 AWS 의 RDS 를 쓰는 관계로 직접 수정은 권한 없음.
Parameter Group에서 수정하여 적용하면 1분 이내에 적용 되어 사용 할 수 있도록 된다.
SET GLOBAL log_bin_trust_function_creators = 1;
'Programmer > Mysql' 카테고리의 다른 글
MySQL SET type에 대하여 (0) 2017.07.23 This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled (0) 2015.03.15 Ubuntu 에서 mysql 설치시 data 폴더를 변경할 경우 (0) 2013.11.19 mysql replication 이 깨졌을 경우 (0) 2013.07.11 Mysql 에서 concat 사용시 제대로 동작하지 않는 경우 (0) 2013.07.06