How to change time limit in phpmyadmin (logging in)

后端 未结 6 1359
走了就别回头了
走了就别回头了 2021-01-04 03:11

I use phpmyadmin to create mysql database. And I have set the auth type to cookie in the config.inc.php. How do I change the time limit so that even if I logged in I stayed

6条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-04 03:28

    In my case(4.3.8) just replace in config.inc.php cookie to config and add 2 lines like bellow:

    /*
     * First server
     */
    $i++;
    /* Authentication type */
    $cfg['Servers'][$i]['auth_type'] = 'config';
    $cfg['Servers'][$i]['username'] = 'root'; //add this line
    $cfg['Servers'][$i]['password'] = 'root'; //add this line
    

提交回复
热议问题