CDH5.7 Logon denied for user/password. Able to find the database server and databas

1.问题截图

CDH5.7 Logon denied for user/password. Able to find the database server and databas

2.解决方法:在mysql内执行下列语句

grant all privileges on *.* to [email protected]'%' identified by 'root' with grant option;

flush privileges;