Has to reset MySQL password everytime I restart my system

I successfully reset my password and got into my database. But once I rebooted my laptop, it gave me

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)

I don’t why it would happen. Anyone had the same experience? My Mysql version is 5.7.29

Pls Read this: