Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 848
Jin You Avatar asked Oct 04 '22 08:10

Jin You


2 Answers

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.

like image 291
Subedi Kishor Avatar answered Oct 12 '22 08:10

Subedi Kishor


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

"Features" >

...and you'll find "Login cookie validity" which is typically set to 1440.

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

like image 256
tfont Avatar answered Oct 12 '22 08:10

tfont