标题: 解决mysql The user specified as a definer ('root'@'%') does not exist 方法 [打印本页] 作者: 孙子虎 时间: 2016-7-19 15:04 标题: 解决mysql The user specified as a definer ('root'@'%') does not exist 方法 今天导入项目和数据库,启动项目访问时提示('root'@'%') does not exist
找资料说是权限问题,授权 给 root 所有sql 权限就行
mysql> grant all privileges on *.* to root@"%" identified by ".";
Query OK, 0 rows affected (0.00 sec)