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 

Advertisement

Author: susiloharjo

Khoirunnas anfa'ahum linnas A Father, Husband and love to learn person Love my Family, Electronics, Photography, Robot, Dreaming, Programming

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 )

Facebook photo

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

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: