(wordpress安装)针对WampServer出现You don't have permission to access /phpmyadmin/ on this server.
正确的步骤应该是:
一:配置libraries下的config.default.php
$cfg['PmaAbsoluteUri']='localhost/phpmyadmin'; //"中间填写phpmyadmin的访问网址
$cfg['Servers'][$i]['user']='root';//MySQLuser访问phpmyadmin使用的mysql用户名
fg['Servers'][$i]['password']='';//MySQLpassword(onlyneeded对应上述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
修改为
至此在wmap环境下的phpmyadmin配置大功告成
亲测可用
感谢:http://www.aichengxu.com/view/24055