본문 바로가기
MariaDB

ERROR 1419 (HY000) at line 1918 오류 조치 방법

by 더킹123 2022. 10. 5.
728x90

-->mariadb import 실행시 오류 발생

[root@test ~]# mysql -uroot -p < test_20221005.sql
ERROR 1419 (HY000) at line 1918: You do not have the SUPER privilege and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variable)

-->mariadb 접속 후 log_bin_trust_function_creators 확인

[root@test ~]# mysql -uroot -p

MariaDB [(none)]> show variables like '%log_bin_tr%';
+---------------------------------+-------+
| Variable_name                   | Value |
+---------------------------------+-------+
| log_bin_trust_function_creators | OFF   |
+---------------------------------+-------+
1 row in set (0.037 sec)

-->log_bin_trust_function_creators 활성화
MariaDB [(none)]> set global log_bin_trust_function_creators=1;

 

728x90

'MariaDB' 카테고리의 다른 글

MariaDB federated 엔진 설치(DB링크)  (0) 2024.04.03
mariadb 이관 방법 및 계정 생성  (0) 2021.06.24
mariadb 10.4 설치 / centos  (0) 2021.06.22

댓글