Many friends may find that they need to log in again when using phpmyadmin locally. This is very inconvenient. Let me introduce how to modify the default login timeout of phpMyAdmin.
The default timeout of phpMyAdmin is 1800 seconds, which is too short. During the development process, when I write a few lines of code and come back to look at the database, it times out. It is very annoying to log in repeatedly.
Modification method:
Open phpMyAdmin/libraries/config.default.php
代码如下 | 复制代码 |
找到$cfg['LoginCookieValidity'] = 1440; |
Okay, just increase the 1440 and it will be ok