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
In MySQL 5.7, the password is replaced with 'authentication_string'.
use
update user set authentication_string=password('myfavpassword') where user='root';