Wednesday, March 23, 2011

Increase the phpMyAdmin Session Timeout

You can override the setting for phpMyAdmin Session Timeout.
1.Open up config.inc.php in the root phpMyAdmin directory
2. Add this code anywhere on the document:

$cfg['LoginCookieValidity'] = ;

Where is some number larger than 1800. For example, 28800 works out to be 8 hours.

Disclaimer! It should go without saying that increasing the timeout is a (comparatively minor) security risk (but a risk nonetheless). Obviously, do not do this on your production server. And as always, proceed with caution.

3 comments: