Little background: I used digital ocean to create a wordpress site.
I used the one click install they provided on their page and now my wordpress site is running.
And I followed this guide to do some preparation:
And then I followed the last step where they teach you how to install phpMyadmin GUI.
However after installing it I cannot log into it, neither from the GUI nor from command line works.
Both of them gave me this error:
#1045 - Access denied for user ‘root’@‘localhost’ (using password: YES)
I did a simple google search and I found that I need to edit this file:
And manually add in mySQL password.
But I cannot find this file on my Ubuntu server… Where can I find it and can I edit it inside terminal?
If so, how to do that ?
I key in pwd in terminal it shows me i am at root. But ls gives me nothing.
How do I edit that file then?
Thanks in advance.