May 13, 2010

Disabling the phpMyAdmin timeout after 1440 seconds

The timeout is cookie-based and can be disabled by storing the MySQL authentication information in the config.inc.php file. To do this, just add the following to the file:


$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'your-database-user-name';
$cfg['Servers'][$i]['password'] = 'your-database-password';

Note: doing this will remove the login prompt, so only do this if your phpMyAdmin installation is locked down with a server-based authentication!

No comments:

Post a Comment