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)

 

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM