Login without a password is forbidden by configuration (see AllowNoPassword)

Saat mengakses PhpMyAdmin biasanya muncul pesan:
Login without a password is forbidden by configuration (see AllowNoPassword)

Pesan ini muncul karena pada proses setup, pilihan password dikosongkan sementara konfigurasi PhpMyAdmin mewajibkan user memasukkan password.

Hal ini bisa diatasi dengan cara:

  1. Buka terminal
  2. Ketik perintah berikut:
    gksudo gedit /etc/phpmyadmin/config.inc.php
  3. File config.inc.php akan terbuka di aplikasi gedit
  4. Cari baris ini:
    // $cfg[‘Servers’][$i][‘AllowNoPassword’] = TRUE;
  5. Setelah ketemu, hapus kedua garis miring sehingga menjadi seperti ini:
    $cfg[‘Servers’][$i][‘AllowNoPassword’] = TRUE;
  6. Silahkan diakses lagi http://localhost/phpmyadmin/index.php

Leave a Reply

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s

%d bloggers like this: