Solved

Removing or extending the phpMyAdmin timeout period

Posted on 2016-08-28
5
34 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 82

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 82

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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL (http://www.experts-exchange.com/articles/201/Handling-Date-and-Time-in-PHP-and-MySQL.html) several years ago, it seemed like now was a good time to updat…
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

760 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now