Sorry this is such a basic question, but I'm struggling to get any of the solutions I've found online working. Basically I've managed to lose my MySQL password for my local machine and now I'm completely locked out
I've tried resetting it using this command:
mysqladmin password example_new_password
But that gives me an error saying "mysqladmin: connect to server at 'localhost' failed. Error: 'Access denied for user 'root'@'localhost' (using password: NO)'
And I've also tried following these instructions (https://goo.gl/lvV1jo), but when there's no .pid file or anything named 'mysqld' in /var/lib/mysql so I couldn't do much from there
Can anyone help point me in the right direction? I'm a little lost at the moment