System Admin

Disable the phpmyadmin timeout after 1440 seconds

I’m running phpmyadmin in my dev server and i always encounter phpmyadmin timeout after 1440 seconds.

To disable the phpmyadmin timeout after 1440 seconds, follow the steps below:-

  • Open your file from your phpmyadmin folder, if you do not have one, you can copy the to in your phpmyadmin folder.
  • Now look for this code:-

$cfg['Servers'][$i]['auth_type'] = 'cookie';

and change to:

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

Once done, save the file and you may refresh you phpmyadmin. and phpmyadmin will auto login for you.


Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *