Mysql ERROR 1698 (28000) root@localhost access denied


Sedikit share kalau ada yang mengalami hal yang serupa, tiba tiba saja mysql ngambek ngga bisa diakses setelah diinstall.

masuk ke mysql menggunakan sudo

sudo mysql -u root

ganti password mysql

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

restart mysql service

sudo service mysql stop
sudo service mysql start

Done selesai coba akses kembali

kalau ngga bisa juga coba cara disini 

Advertisements

Ditunggu komennya ...

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s