반응형
에러정보
- SUPER 권한이 없는 사용자에게 발생
(ERROR 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)
- Mysql 5.6 -> 8.0 버전 이상 업데이트 후 Function 생성 에러 발생
해결방법
show global variables like 'log_bin_trust_function_creators';
- 이 부분을 ON 으로 수정해주어야 함
SET GLOBAL log_bin_trust_function_creators = 1; // 1 or ON
SET GLOBAL log_bin_trust_function_creators = 0; // 0 or OFF
반응형
'MYSQL' 카테고리의 다른 글
SQL 구문의 실행순서 (0) | 2023.06.14 |
---|---|
Mysql 테이블 덤프 ( mysqldump) (0) | 2023.05.10 |
sql_mode=only_full_group_by 에러 해결방법 (0) | 2023.04.26 |
[MySql] SHOW PROCESSLIST (0) | 2022.10.11 |
대표적인 SQL 종류 (0) | 2022.07.14 |