How to set my phpmyadmin user session to not time out so quickly?

PhpmyadminTimeoutSettings

Phpmyadmin Problem Overview


I work on my wamp for localhost backend development everyday.

I feel annoyed by phpmyadmin auto log out out quickly. Is there any way I could get rid of this or extend the timeout?

Where can I set this timeout value?

Phpmyadmin Solutions


Solution 1 - Phpmyadmin

To increase the phpMyAdmin Session Timeout, open config.inc.php in the root phpMyAdmin directory and add this setting (anywhere).

$cfg['LoginCookieValidity'] = <your_new_timeout>;

Where <your_new_timeout> is some number larger than 1800.

Note:

Always keep on mind that a short cookie lifetime is all well and good for the development server. So do not do this on your production server.

Solution 2 - Phpmyadmin

Once you're logged into phpmyadmin look on the top navigation for "Settings" and click that then:

"Features" >

...and you'll find

Unfortunately changing it through the UI means that the changes don't persist between logins.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionJin YouView Question on Stackoverflow
Solution 1 - PhpmyadminSubedi KishorView Answer on Stackoverflow
Solution 2 - PhpmyadmintfontView Answer on Stackoverflow