我刚刚搬到苹果公司,我安装了 MAMP 来替换我通常在 Windows 上使用的 WAMP,但现在我显然丢失了我的配置设置,我正在努力使用 MAMP 来做这件事。
首先,我真的想在 1440 秒的空闲时间后关闭 PHPMyAdmin 的自动注销,我也不想每次都登录。在 wamp 中,我只是将我的 root 密码设置为空白,并在配置文件中将登录设置为 false。
我已经在网上阅读并尝试了一些东西,但我似乎无法找到更改所需的文件。
任何帮助,将不胜感激。提前致谢!
我刚刚搬到苹果公司,我安装了 MAMP 来替换我通常在 Windows 上使用的 WAMP,但现在我显然丢失了我的配置设置,我正在努力使用 MAMP 来做这件事。
首先,我真的想在 1440 秒的空闲时间后关闭 PHPMyAdmin 的自动注销,我也不想每次都登录。在 wamp 中,我只是将我的 root 密码设置为空白,并在配置文件中将登录设置为 false。
我已经在网上阅读并尝试了一些东西,但我似乎无法找到更改所需的文件。
任何帮助,将不胜感激。提前致谢!
Your config file needs this code and it should resolve your both the issues.
$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';