【问题标题】:Turn Off PhpMyAdmin Autologout关闭 PhpMyAdmin 自动注销
【发布时间】:2012-10-30 02:13:52
【问题描述】:

我刚搬到 Apple,我安装了 MAMP 来替换我通常在 Windows 上使用的 WAMP,但现在我显然丢失了我的配置设置,我正在努力使用 MAMP。

首先我真的想在 1440 秒的空闲时间后关闭 PHPMyAdmin 的自动注销,我也不想每次都登录。在 wamp 中,我只是将我的 root 密码设置为空白,并在配置文件中将登录设置为 false。

我已经在网上阅读并尝试了一些东西,但我似乎找不到需要更改的文件。

任何帮助将不胜感激。 提前致谢!

【问题讨论】:

    标签: phpmyadmin mamp


    【解决方案1】:

    您的配置文件需要此代码,它应该可以解决您的这两个问题。

    $cfg['blowfish_secret'] = 'xampp'; 
    $i = 0;
    $i++;
    /* Authentication type and info */
    $cfg['Servers'][$i]['auth_type'] = 'config';
    $cfg['Servers'][$i]['user'] = 'root';
    $cfg['Servers'][$i]['password'] = '';
    $cfg['Servers'][$i]['extension'] = 'mysqli';
    $cfg['Servers'][$i]['AllowNoPassword'] = true;
    $cfg['Lang'] = '';
    $cfg['Servers'][$i]['host'] = '127.0.0.1';
    $cfg['Servers'][$i]['connect_type'] = 'tcp';
    

    【讨论】:

    • 我应该将它粘贴到哪个配置文件中?
    • config.inc.phpphpmyadmin目录下
    猜你喜欢
    • 2012-07-01
    • 2014-10-21
    • 1970-01-01
    • 2013-05-28
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-09-12
    相关资源
    最近更新 更多