How can phpMyAdmin (running on Ubuntu 10.04) be restarted after the /etc/phpmyadmin/config.inc.php file was changed?
Asked
Active
Viewed 9.5k times
15
-
I've never liked using a package manager for phpMyAdmin. I've always found it easier and faster to download directly form http://www.phpmyadmin.net/, copy the sample config file to config.inc.php, and edit that – wag2639 May 23 '10 at 14:51
-
1What does this have to do with the question anyway? It's about how a change in the config file gets applied. – Pylsa May 23 '10 at 15:43
3 Answers
14
No need to restart phpMyAdmin, changes in /etc/phpmyadmin/config.inc.php are automatically applied.
Pylsa
- 30,630
- 16
- 89
- 116
-
2so why when uncomment :$cfg['Servers'][$i]['AllowNoPassword'] = TRUE; I get still message: Login without a password is forbidden by configuration (see AllowNoPassword) – Ben May 21 '10 at 14:43
-
Are you using root account without password? And which version of PMA are you using? – Pylsa May 21 '10 at 14:50
-
-
@Yosef: been there too. There are 2 lines in config file with this setting. I'm not sure which one needs to be uncommented, but if you do just one - 50% chance is that's the wrong one unless you know exactly what you are doing. – tishma Sep 29 '12 at 11:20
3
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.
goncalossilva
- 131
- 3
-
The same issue with me. It seems that Ubuntu ignores `/etc/phpmyadmin/config.inc.php` but loads `/usr/share/phpmyadmin/config.inc.php`. Uncomment "Storage database and tables" section and "Designer" mode will be enabled. – bancer Oct 14 '12 at 19:02