java.sql.SQLException: Access denied for user 'root '@'localhost' (using password: YES) 检查项: 1. 密码 2. 数据库访问权限 3. root后面有空格也是不可以的