In my local development Ubuntu box I use MySQL and phpmyadmin to work with the database.
Whenever phpmyadmin is idle for 1440 secs (24min) the session expires. I lose m
Follow below steps to increase session timeout for phpmyadmin:
Method 1:
Make sure whatever value you are entering in Login cookie validity is in seconds
Method 2:
Locate your config.inc.php
file
For CentOS, Fedora servers:
/etc/phpMyAdmin/config.inc.php
For Ubuntu, Debian servers:
/etc/phpmyadmin/config.inc.php
Search LoginCookieValidity in config.inc.php
and increase its value
$cfg['Servers'] [$i] ['LoginCookieValidity'] = 1440;
//change to
$cfg['Servers'] [$i] ['LoginCookieValidity'] = 36000;
Save the changes to the config.inc.php file and restart your server.
Increase
session.gc_maxlifetime
inphp.ini
to be greater than or equal to the value that you entered inconfig.inc.php
.