Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

phpmyadmin is not using auth_type in config.inc.php

Tags:

php

phpmyadmin

I'm trying to show the html login form when logging in to phpmyadmin, however it continues to show the login popup, even though I have made the necessary changes in my config file. My config.inc.php file is located in the phpmyadmin directory as follows:

<?php
 $cfg['blowfish_secret'] = 'secret';
 $i = 0;
 $i++;
 $cfg['Servers'][$i]['auth_type'] = 'cookie';
 $cfg['Servers'][$i]['host'] = 'localhost';
 $cfg['Servers'][$i]['connect_type'] = 'tcp';
 $cfg['Servers'][$i]['compress'] = false;
 $cfg['Servers'][$i]['extension'] = 'mysqli';
 $cfg['Servers'][$i]['AllowNoPassword'] = false;
 $cfg['UploadDir'] = '';
 $cfg['SaveDir'] = '';
?>

The install for phpmyadmin is located in /usr/share/phpmyadmin and I have created a symlink with a different name to this directory from /var/www. Does the symlink perhaps cause issues with the config file being loaded? Any other reason the auth_type = cookie is not actually working?

like image 829
CMH Avatar asked Sep 02 '13 20:09

CMH


1 Answers

Looks like the problem was that the config.inc.php in the root phpmyadmin was not the file that it was looking for. I needed to edit /etc/phpMyAdmin/config.inc.php

like image 156
CMH Avatar answered Sep 23 '22 06:09

CMH