MYSQL 5.7 root password

mysql
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';