java.sql.SQLException: Access denied for user 'root'@'120.XX.XX.XX' (using password: YES)
1.查看权限show grants;2.授权 GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '123456' WITH GRANT OPTION;3.刷新权限FLUSH PRIVILEGES;