Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am running Ubuntu 11.04 and I installed phpmyadmin(version 4:3.3.10-1). But when I try to use phpmyadmin, I get the error message as

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

I edited the config.inc.php located in /etc/phpmyadmin to uncomment the line AllowNoPassword = TRUE and restarted both apache2 server and mysql server, but I get the same error.

Any help is appreciated.

share|improve this question

1 Answer 1

Connect to the server;

use mysql; 
update user set password=PASSWORD("") where User='root'; 
flush privileges;

Also, make sure that /etc/phpmyadmin is relevant. Perhaps the config file is read from the folder where PHPMyAdmin is installed.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.