26 Jul 2018 21:19:00,696 ERROR [main] DBAccessorImpl:109 - Error while creating database accessor
java.sql.SQLException: Access denied for user ‘ambari‘@‘node5(主机名)‘ (using password: YES)
use mysql;
select * from user order by `User`
- GRANT ALL PRIVILEGES ON *.* TO ‘ambari‘@‘%‘;
- GRANT ALL PRIVILEGES ON *.* TO ‘ambari‘@‘localhost‘;
- GRANT ALL PRIVILEGES ON *.* TO ‘ambari‘@‘YOUR_AMBARI_HOSTNMAE‘;
- GRANT ALL PRIVILEGES ON *.* TO ‘ambari‘@‘10.166.2.206‘;
- FLUSH PRIVILEGES;
原文:https://www.cnblogs.com/yaoyao66123/p/9374963.html