天天看點

mysql:The user specified as a definer ('xxx'@'%') does not exist 解決方法

發生這種問題。大機率是使用者不存在或者是權限不夠

使用者不存在。用可視化工具建立一個。

權限不夠 ,運作下面指令:

如:我的錯誤:

The user specified as a definer ('movitity'@'%') does not exist

movitity權限不夠。

運作結果如下:

mysql> grant all privileges on *.* to movitity@"%" identified by ".";
Query OK, 0 rows affected (0.01 sec)

mysql> flush privileges;
Query OK, 0 rows affected (0.01 sec)      
mysql:The user specified as a definer ('xxx'@'%') does not exist 解決方法

小舟從此逝,江海寄餘生。

--狐狸

sql