How to find mysql forgotten root password

i have mysql 5.5 running on my server but i have forgotten my mysql root password , as there any way i can get my old forgotten root password  , Also am using centos 6.8 on my server

 

Default Asked on October 28, 2016 in Software.
Add Comment
1 Answer(s)
Best answer

ya on mysql 5.5 you can view root password . Its easy just login to ssh with root and type below command and you will see root account password on screen :).


cat ~/.my.cnf

Default Answered on October 28, 2016.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.