从别的mysql数据库拷贝过来的函数,执行总是报 There is no 'root '@ '% ' registered 问题,我的解决办法是:给root用户赋予更多的权限,Navicat 按F6,命令行执行: grant all privileges on *.* to root@"%" identified by "."; flush privileges; 可解决