数据库权限开放

全部权限grant all privileges on *.* to 'root'@'172.25.120.17' identified by '' with grant option;

查询权限 grant select on *.* to 'root'@'172.25.120.17' identified by '' with grant option;

之后必须执行flush privileges;

推荐阅读更多精彩内容