【问题标题】:phpmyadmin access denied on xamppxampp 上的 phpmyadmin 访问被拒绝
【发布时间】: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


【解决方案1】:

感谢这个视频https://www.youtube.com/watch?v=vzs9Z12OTE4,我已经解决了这个问题

要解决此问题,您需要打开 xampp 控制面板,然后在 MySQL Config 下打开 my.ini。

然后我在[mysqld]下面添加了“skip-grant-tables”

【讨论】:

    猜你喜欢
    • 2016-04-02
    • 2018-08-10
    • 2017-08-11
    • 2014-05-23
    • 2018-10-03
    • 2020-07-09
    • 2019-02-07
    • 2016-01-02
    • 2013-12-11
    相关资源
    最近更新 更多