简体   繁体   English

MAMP - Phpmyadmin(处理错误,错误代码:404,找不到错误)

[英]MAMP - Phpmyadmin (Error in processing, error code : 404, error not found)

I have installed MAMP. 我安装了MAMP。 When I click on the server in phpmyadmin. 当我在phpmyadmin中单击服务器时。 it shows 表明

"Error in processing Error code 404 Error not found". “处理错误代码404错误未找到”。

I saw the same question in stackoverflow , but not a solution. 我在stackoverflow中看到了同样的问题,但不是解决方案。 Please let me know anyone who faced this problem and solved. 请让我知道任何遇到这个问题并解决的人。

Thanks, 谢谢,

This seems to be linked to the outdated MAMP config file in the phpMyadmin directory. 这似乎与phpMyadmin目录中过时的MAMP配置文件相关联。

I had the same issue, to fix it I backed up the old phpMyAdmin, downloaded a new one and then copied config.sample.inc.php to config.inc.php. 我有同样的问题,修复它我备份旧的phpMyAdmin,下载一个新的,然后将config.sample.inc.php复制到config.inc.php。

Edit the file so that it reads as follows: 编辑文件,使其如下所示:

/* 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';

If you used MAMO Pro for Mac.You can go to the path below: 如果您使用MAMO Pro for Mac。您可以转到以下路径:

/Library/Application Support/appsolute/MAMP PRO/phpMyAdmin/

And open this file: 并打开此文件:

config.inc.php

find this line: 找到这一行:

$cfg['DefaultTabServer'] = 'main.php';

Change main.php to index.php , like this: main.php更改为index.php ,如下所示:

$cfg['DefaultTabServer'] = 'index.php';

Or just comment this line use "#", like this: 或者只是注释这一行使用“#”,如下所示:

#$cfg['DefaultTabServer'] = 'main.php';

This problem will be solved. 这个问题将得到解决。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM