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 授予权限)...
小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
從服務(wù)器上遷移數(shù)據(jù)庫(kù)到本地localhost?
執(zhí)行? 函數(shù)? 時(shí)報(bào)錯(cuò),
mysql 1449 : The user specified as a definer ('usertest'@'%') does not exist
經(jīng)查,是權(quán)限問(wèn)題(其中usertest是服務(wù)器上數(shù)據(jù)庫(kù)的登錄名),解決辦法:
?
授權(quán)給?usertest 所有sql 權(quán)限
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)
轉(zhuǎn)載于:https://www.cnblogs.com/maxmoore/p/8274696.html
總結(jié)
以上是生活随笔為你收集整理的mysql 1449 : The user specified as a definer ('usertest'@'%') does not exist 解决方法 (grant 授予权限)...的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: 梦到捡鸭蛋是什么意思周公解梦
- 下一篇: 使用ViewContainerRef探索