Merubah passsword root MySQL di Ubuntu

Pada terminal kita bisa menggitikkan berikut

Matikan dulu MySQL Server nya.

sudo / etc / init.d / mysql stop

Lanjut dengan konfigurasi mysqld.

sudo mysqld - skip-grant-tables &

Login sebagai root ke MySQL .

mysql -u root mysql

Ganti Password root dengan password baru.

UPDATE user SET Password=PASSWORD('YOURNEWPASSWORD') WHERE User='root'; FLUSH PRIVILEGES; exit;

Trackback URL

No Comments on "Merubah passsword root MySQL di Ubuntu"

Hi Stranger, leave a comment:

ALLOWED XHTML TAGS:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to Comments