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 config.inc.php file from your phpmyadmin folder, if you do not have one, you can copy the config.sample.inc.php to config.inc.php in your phpmyadmin folder.
- Now look for this code:-
1$cfg['Servers'][$i]['auth_type'] = 'cookie';
and change to
123$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.
*** DO NOT DO THIS IN YOUR PRODUCTION ENVIRONMENT ***
How to backup MySQL Database in command line with compression
How to hide .svn folders in Eclipse or Aptana
How to setup syslog server in UBuntu 8
How to insert new line (line break) in a cell - OpenOffice Calc
How to clear play history in VLC media player
Maximum length for MySQL TEXT field types
Bootstrap - The Responsive Framework
Google Authenticator shows "The code is incorrect"
Share this with your friends:-