티스토리 뷰
Database
log_bin_trust_function_creators (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)
CHOMAN 2019. 7. 17. 10:49관련 에러 메시지
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
function, trigger 생성에 대한 설정
디폴트 값은 OFF, 권한이 있더라도 function, trigger 생성할 수 없음
ON 인 경우 function, trigger 에 대한 안정성 체크 하지 않음
root 권한이 없는 user 가 생성한 function, trigger 를 일반 user 가 사용할 수 없음
root 권한이 있는 user가 function, trigger을 생성해야 한다.
상위 버전에는 해당 옵션이 없을수 있음
관련 변수 확인
show global variables like "log_bin_trust_function_creators";
설정
SET GLOBAL log_bin_trust_function_creators = 1;
my.cnf
log_bin_trust_function_creators=1
'Database' 카테고리의 다른 글
SET NAMES, SET CHARACTER SET (0) | 2019.09.19 |
---|---|
Character set Collation 차이 (0) | 2019.09.18 |
mysql_upgrade (mysql 업그레이드) (0) | 2019.05.24 |
2006 : MySQL server has gone away (0) | 2019.05.13 |
centos6 - mysql 5.0.95 설치 (0) | 2019.04.30 |
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- MySQL
- pptp
- 리눅스
- ntp
- WAF
- ssh
- glusterfs
- kvm
- HAProxy
- mariadb
- mod_security
- 베이어다이나믹
- 인증서
- SSL
- NGINX
- L2TP
- IPSEC
- GeoIP
- gitlab
- centOS7
- softether
- centos8
- virtualbox
- iptables
- yum
- cURL
- galera
- Apache
- php
- OpenVPN
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
글 보관함