我已经安装了 MAMP。当我点击 phpmyadmin 中的服务器时。它显示
“处理错误 错误代码 404 找不到错误”。
我在 stackoverflow 看到了同样的问题,但没有解决方案。请让我知道遇到此问题并已解决的任何人。
谢谢,
最佳答案
这似乎与 phpMyadmin 目录中过时的 MAMP 配置文件有关。
我有同样的问题,为了修复它,我备份了旧的 phpMyAdmin,下载了一个新的,然后将 config.sample.inc.php 复制到 config.inc.php。
编辑文件,使其内容如下:
/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = 'config';
/* Server parameters */
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['compress'] = false;
$cfg['Servers'][$i]['AllowNoPassword'] = false;
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = 'root';
关于php - MAMP - Phpmyadmin(处理错误,未找到错误代码 : 404, 错误),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22949600/