My digital scrapbook

phpMyAdmin without password on Ubuntu

on under Uncategorized • 2 Comments

Several days ago I have problem after reinstalling my ubuntu OS. I always put password on mysql installation but this time I won’t to add  a password in my development machine. I was install phpMyAdmin package from repository and receive this message.

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

At first I was trying to uncomment this following lines on /etc/phpmyadmin/

$cfg['Servers'][$i]['AllowNoPassword'] = TRUE;

but there’s no effect with phpMyAdmin login behavior. The solution was surprised me. There’s another line with same statement at the bottom of configuration. Try to uncomment the line then phpmyadmin will allowing no password login.