I am trying to login to my mysql prompt on HDP 2.5. Its doesn't allow me to login. Not sure whats the password set on it.
please find the attached.
Any help is highly appreciated.
@sujitha sanku : "hadoop" is the root password of mysql server in HDP 2.5 sandbox.
View solution in original post
set the new password for root user using the following command
mysqladmin -u root -h localhost password 'newpassword'