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:-
Advertisements
- 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:-
$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.
*** DO NOT DO THIS IN YOUR PRODUCTION ENVIRONMENT ***
Related posts:
MySQL replication stop at Last Errno 1062
Track Your Website Visitor With Free Invisible Website Tracker - StatCounter
How to send email from different address in Gmail
Block IP from accessing website using .htaccess
How to create Table of Contents in LibreOffice
Firefox: This connection is untrusted
Woocommerce: Coupon for new customer / first order only
Prestashop 1.6: "Unexpected token <" error when upload category thumbnail
Share this with your friends:-