You don't have permission to access /phpmyadmin/ on
配置phpmyadmin 配了一个小时都没好 无论是在127.0.0.1下或者是 localhost下都无法登陆. 后来发现在wmap环境下配置phpmyadmin 单单修改libraries下的 config.default.php是不行的 正确的步骤应该是: 一:配置libraries下的config.default.php $cfg['PmaAbso
配置phpmyadmin 配了一个小时都没好 无论是在127.0.0.1下或者是 localhost下都无法登陆.
后来发现在wmap环境下配置phpmyadmin 单单修改libraries下的config.default.php是不行的
正确的步骤应该是:
一:配置libraries下的config.default.php
$cfg['PmaAbsoluteUri'] = 'localhost/phpmyadmin';
// "中间填写phpmyadmin的访问网址
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user 访问phpmyadmin使用的mysql用户名
fg['Servers'][$i]['password'] = ''; // MySQL password (only needed对应上述mysql用户名的密码
$cfg['Servers'][$i]['auth_type']
= 'cookie';
二:配置apps\phpmyadim\config.inc.php文件
$cfg['Servers'][$i]['password']
= 'hooray'; // hooray
就是你数据库的密码。
此时在127.0.0.1下已经能打开phpmyadmin了 不过在localhost下还是不能打开
三:配置alias下的phpmyadmin.conf
修改为
推荐阅读
-
You don’t have permission to access /index.php on.
-
对于搭建网站中出现“You don't have permission to access this resource.”错误提示的解决思路
-
You don't have permission to access / on this server,Forbidden
-
CentOS7.0下安装Apache2.4.20版本,安装完成之后,报 You don't have permission to access / on this server.
-
wamp不能使用phpmyadmin,提示“You don't have permission to access /phpmyadmin/ on this server.”...
-
Apache启动后出现You don't have permission to access on this server的解决办法
-
PHP错误:Forbidden You don't have permission to access / on thi_PHP教程
-
apache出现You don't have permission to access / on thi_PHP教程
-
Apache出现 You don't have permission to access /phpmya
-
wamp不能使用phpmyadmin,提示“You don't have permission