MariaDB Error: the user specified as a definer (‘root’@’%’) does not exist

Sasha Park·2021년 11월 21일
0

상황: 로컬데이터베이스 내 데이터 수정 시, 해당 에러 발생. 검색 결과, root user에 definer 권한이 없어서 생기는 문제로 확인했음.

예전 버전에는 사용자를 추가해서 권한을 추가했으나, 기능이 막히고 기존 유저에게 권한을 주는 방식으로 처리완료

create user 'root'@'%' identified by 'password';

grant all privileges on *.* to 'root'@'%';

flush privileges;

https://debugah.com/tag/the-user-specified-as-a-definer-root-does-not-exist-2/

profile
'어?' 에서 '아!'가 되는 순간을 즐기는 개발자입니다.

0개의 댓글