页面点击存储按钮后,报错:The user specified as a definer ('root'@'%') does not exist 

在数据库中

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

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

mysql> flush privileges;

Query OK, 0 rows affected (0.00 sec)

05-29 09:17