How can phpMyAdmin (running on Ubuntu 10.04) be restarted after the /etc/phpmyadmin/config.inc.php file was changed?

link|improve this question

I've never liked using a package manager for phpMyAdmin. I've always found it easier and faster to download directly form phpmyadmin.net, copy the sample config file to config.inc.php, and edit that – wag2639 May 23 '10 at 14:51
What does this have to do with the question anyway? It's about how a change in the config file gets applied. – BloodPhilia May 23 '10 at 15:43
feedback

3 Answers

up vote 3 down vote accepted

No need to restart phpMyAdmin, changes in /etc/phpmyadmin/config.inc.php are automatically applied.

link|improve this answer
so why when uncomment :$cfg['Servers'][$i]['AllowNoPassword'] = TRUE; I get still message: Login without a password is forbidden by configuration (see AllowNoPassword) – Yosef May 21 '10 at 14:43
Are you using root account without password? And which version of PMA are you using? – BloodPhilia May 21 '10 at 14:50
i am using as root and 4.3.3 – Web Developer Dec 15 '10 at 5:39
feedback

I was in a similar situation on Ubuntu 10.10 (phpmyadmin 3.3.7deb3build0.10.10.1) and even after editing /etc/phpmyadmin/config.inc.php I couldn't login (because of AllowNoPassword).

I had to cp /usr/share/phpmyadmin/config.sample.inc.php /usr/share/phpmyadmin/config.inc.php and then add the $cfg['Servers'][$i]['AllowNoPassword'] = TRUE; line to it.

It is strange, but it worked.

link|improve this answer
feedback

Try and open it using:

sudo gedit /etc/phpmyadmin/config.inc.php

Uncomment it and save, but keep it open - then try opening phpMyAdmin. It should work.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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