【发布时间】:2019-09-21 07:58:35
【问题描述】:
访问 phpmyadmin 时出现错误
“无法连接:无效设置”
/* 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'] = '';
/* Bind to the localhost ipv4 address and tcp */
$cfg['Servers'][$i]['host'] = '127.0.0.1';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
/* User for advanced features */
$cfg['Servers'][$i]['controluser'] = 'pma';
$cfg['Servers'][$i]['controlpass'] = '';
我在 stackoverflow 上尝试了所有类似的问题,但没有帮助。
我最后的选择是重新安装 xampp。
【问题讨论】:
-
嗨,您能否编辑您的问题并将错误消息粘贴为文本而不是图像?如果有人用谷歌搜索同样的错误,他们将无法找到它(谷歌不会在图片中查找文本)
-
嗨,我已经修改了问题。
标签: phpmyadmin xampp