Ubah 127.0.0.1 ke localhost seperti ini:
mysql> GRANT ALL on *.* to 'root'@'localhost' identified by '$roots_password' WITH GRANT OPTION;
Karena host yang kurang adalah localhost dan bukan 127.0.0.1 .
Ubah 127.0.0.1 ke localhost seperti ini:
mysql> GRANT ALL on *.* to 'root'@'localhost' identified by '$roots_password' WITH GRANT OPTION;
Karena host yang kurang adalah localhost dan bukan 127.0.0.1 .