How to setup phpMyAdmin to use cookie authentication

This guide will describe how to setup phpMyAdmin to use a cookie based login system. The advantage of the cookie based logins is that you can get an exact mysql error as to why you can't login (if you can't login).

Edit: /var/www/html/phpMyAdmin/config.inc.php

Change:

$cfg['blowfish_secret'] = '';

to

$cfg['blowfish_secret'] = 'anyrandomtextyouwant';

and change:

$cfg['Servers'][$i]['auth_type'] = 'http'; // Authentication method (config, http or cookie based)?

to:

$cfg['Servers'][$i]['auth_type'] = 'cookie'; // Authentication method (config, http or cookie based)?

Close all browsers and try to connect again.

 
php/php_myadmin.txt · Last modified: 2010/02/21 20:26 by muscardin
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Please visit Automatic Backlinks to start earning free backlinks Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki