I have been trying to reset my MySQL root password. I have run the mysqld_safe --skip-grant-tables, updated the root password, and checked the user table to make sure it is
So many coments, but i was helped this method:
sudo mysqladmin -u root password 'my password'
In my case after instalation i had get mysql service without a password for root user, and i was need set the password for my security.