Access denied for user ‘root’@’127.0.0.1’(using password:YES) 出现这样的问题是mysql用户的问题,具体可以在Navicat里执行用户-编辑用户-高级,设置如下: