Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 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

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .