How to setup phpMyAdmin to use cookie authentication


Enter Your Query:
Use '%' for wildcards and quotes for "exact phrases"


Top Level » MySQL / MariaDB

How to setup phpMyAdmin to use cookie authenticationLast Modified: Aug 23, 2006, 11:58 am
This guide will describe how to setup phpMyAdmin to use a cookie/session 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.
 
Related Helpfiles
Using custom configs for PhpMyAdmin, SquirrelMail and Roundcube
I cannot login to phpMyAdmin

© 2018 JBMC Software, Suite 173  3-11 Bellerose Drive, St Albert, AB  T8N 1P7  Canada.  Mon-Fri 9AM-5PM MST