Solved

Removing or extending the phpMyAdmin timeout period

Posted on 2016-08-28
5
45 Views
Last Modified: 2016-09-01
After opening a table with phpMyAdmin and working with it a while, the connection is dropped automatically after something like 5 minutes of inactivity.  Then I have shut down phpMYAdmin , reopen it, and go open my  table again, which is a real nuisance. No one else has access to this computer so I would prefer to leave the connection open until I shut down phpMyAdmin, or at least leave it open for 30 minutes or so.  Is there any way to do that?

Thanks
0
Comment
Question by:steva
  • 2
  • 2
5 Comments
 
LVL 34

Accepted Solution

by:
Dan Craciun earned 250 total points
ID: 41773934
In config.inc.php, set $cfg['LoginCookieValidity'] = 1800.

That will set the timeout to 30 minutes.

HTH,
Dan
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 41773974
Standard PHP timeout is 1440 second (24 minutes) of inactivity.  That timeout gets reset any time you click on anything that accesses the server or reloads the page.  You have to have changed something to get it to be only 5 minutes.
0
 

Author Comment

by:steva
ID: 41773975
Dan, could you tell me where config.inc.php is?

Thanks
0
 
LVL 34

Expert Comment

by:Dan Craciun
ID: 41774051
Windows or Linux?

On Windows, just click Start and type the filename. You should get the location. Or install Search Everywhere.

On Linux, type this while root:
find / -name config.inc.php
0
 
LVL 83

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 250 total points
ID: 41774116
'config.inc.php' is going to be in the main phpMyAdmin directory.  At least it is on all my systems.
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In this article, I will by showing a nice little trick for MySQL similar to that of my previous EE Article for SQLite (http://www.sqlite.org/), A SQLite Tidbit: Quick Numbers Table Generation (http://www.experts-exchange.com/A_3570.htm…
Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question