r/mysql • • Jan 21 '25

question Access denied for user 'root'@'localhost' (using password: YES)

I had mysql community server installed , but I forgot it's password on my fedora machine, Then I un-installed and re-installed it. But I am not able to set its password on doing below sudo mysql_secure_installation And it is giving me error of access denied . I am following the fedora docs for download. I tried to reset the password but was not able to do it.

Can anyone suggest me ? How do I resolve it. Thanks in advance

0 Upvotes

6 comments sorted by

View all comments

Show parent comment

3

u/[deleted] Jan 21 '25

should be googling more rather than asking for help

If people did that Reddit would have 1/4 the number of posts it has!