반응형
1. 에러 메시지
/* SQL 오류 (1418): 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) */
2. 처리방법
- DB에 접속해서 아래 변수의 값을 확인한다.
- show global variables like 'log_bin_trust_function_creators'
- value 값이 off가 나온다면 my.conf에 다름과 같이 설정하고 서버를 재시작한다.
- log_bin_trust_function_creators = 1
- 만약 my.conf 안에 /etc/my.cnf.d 라는 경로가 있다면 해당 경로로 간다.
- server.cnf안에 설정을 입력한다.
- service mysql stop
- service mysql start
728x90
반응형
'Database ( DB ) > Database' 카테고리의 다른 글
mysql 전화번호 masking (0) | 2019.08.07 |
---|---|
MariaDB backup (0) | 2019.08.05 |
mysql user 생성 (0) | 2019.08.05 |
postgresql에서 idle 강제 kill (0) | 2019.08.05 |
postgresql initdb failed (0) | 2019.08.05 |