navicat删用户出现1449错误怎么解决

2020-12-02 09:44:04

相关推荐:《Navicat for mysql使用图文教程》

连接MySQL时出现1449异常

mysql 1449 : The user specified as a definer ('root'@'%') does not exist

权限问题,授权 给 root 所有sql 权限;

mysql> grant all privileges on *.* to root@"%" identified by ".";SQLException: The user specified as a definer ('ebook'@'%') does not exist:

解决办法:

grant all privileges on *.* to ebook@"%" identified by ".";Query OK, 0 rows affected (0.00 sec)
mysql> flush privileges;Query OK, 0 rows affected (0.00 sec)#Mysql