执行自定义函数是报 1449 错误
通过以下语句把所有权限赋给当前用户
grant all privileges on *.* to root@"%" identified by ".";
flush privileges;
root 为当前用户的用户名
执行自定义函数是报 1449 错误
通过以下语句把所有权限赋给当前用户
grant all privileges on *.* to root@"%" identified by ".";
flush privileges;