mysql 1449 : The user specified as a definer ('usertest'@'%') does not exist 解决方法 (grant 授予权限)...
生活随笔
收集整理的這篇文章主要介紹了
mysql 1449 : The user specified as a definer ('usertest'@'%') does not exist 解决方法 (grant 授予权限)...
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
從服務器上遷移數據庫到本地localhost?
執行? 函數? 時報錯,
mysql 1449 : The user specified as a definer ('usertest'@'%') does not exist
經查,是權限問題(其中usertest是服務器上數據庫的登錄名),解決辦法:
?
授權給?usertest 所有sql 權限
mysql> grant all privileges on *.* to usertest@"%" identified by ".";
Query OK, 0 rows affected (0.00 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)
轉載于:https://www.cnblogs.com/maxmoore/p/8274696.html
總結
以上是生活随笔為你收集整理的mysql 1449 : The user specified as a definer ('usertest'@'%') does not exist 解决方法 (grant 授予权限)...的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 梦到捡鸭蛋是什么意思周公解梦
- 下一篇: 使用ViewContainerRef探索