"The user specified as a definer ('root'@'%') does not exist"과 같은 에러가 발생했다면해당 유저의 권한 설정이 잘못 되어 있어서 그런것이다. 모든 권한을 부여 해주면 해결이 된다.grant all on *.* to 'root'@'%' identified by 'password' with grant option; 만약에 예를들어 'userid'@'10.10.10.10' 이라면 'root'@'%' 대신에 넣어주면 된다.