Solved

Removing or extending the phpMyAdmin timeout period

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Fore-Foreword Today (2016) Maxmind has a new approach to the distribution of its data sets.  This article may be obsolete.  Instead of using the examples here, have a look at the MaxMind API (https://www.maxmind.com/en/geolite2-developer-package). …
This guide whil teach how to setup live replication (database mirroring) on 2 servers for backup or other purposes. In our example situation we have this network schema (see atachment). We need to replicate EVERY executed SQL query on server 1 to…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

932 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

15 Experts available now in Live!

Get 1:1 Help Now