ALTER USER 'username'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password'; restert mysql sudo mysql.server restart