ERROR 1449 (HY000): The user specified as a definer ('skip-grants user'@'skip-grants host') does not exist


导入sql文件时报错:

ERROR 1449 (HY000): The user specified as a definer ('skip-grants user'@'skip-grants host') does not exist

解决方式如下(红色字体即为上述括号里的内容)

mysql> grant all privileges on *.* to 'skip-grants user'@'skip-grants host' identified by ".";

再次执行source,导入sql文件,不再报错。

结束。


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM