MySQL Error: The user specified as a definer does not exist


Error :

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

 

Solution :

grant all on *.* to ‘root’@‘%’ identified by ‘password’ with grant

 option;