ubah kata sandi asli pengguna mysql
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '<password>';
Joyous Jackal
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '<password>';