Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Mysql database error:

avatar
Super Collaborator

Hi,

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.

Thanks,

Sujitha

6667-screen-shot-2016-08-15-at-40555-pm.png

1 ACCEPTED SOLUTION

avatar

@sujitha sanku : "hadoop" is the root password of mysql server in HDP 2.5 sandbox.

View solution in original post

2 REPLIES 2

avatar
Super Guru

@sujitha sanku

set the new password for root user using the following command

mysqladmin -u root -h localhost password 'newpassword'

avatar

@sujitha sanku : "hadoop" is the root password of mysql server in HDP 2.5 sandbox.