Home > Database > Mysql Tutorial > 关于WAMP无法进入phpMyAdmin的解决方案_MySQL

关于WAMP无法进入phpMyAdmin的解决方案_MySQL

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-01 13:33:03
Original
950 people have browsed it

phpmyadmin

bitsCN.com

在使用WAMP搭建本地博客环境时,作为一个新手遇到了如下问题:
Forbidden  You don't have permission to access /phpmyadmin/ on this server.

我的系统:
win7 professional 32bits

最后在这里找到了解决方法:WAMP error: Forbidden You don't have permission to access /phpmyadmin/ on this server

目前国内搜到的方法均为原文链接里被采纳了的答案(直接改为Allow from all),但该方法很明显不安全。原问题回复里的一楼才是最恰当的解决方案。

现翻译如下:

注意,被采纳了的回答会使phpmyadmin允许任何人无密码访问root权限。Allow from all会使数据库整个暴露在公众面前。真正的问题在于WAMP在win7系统下绑定了IPv6。只要在c:/wamp/alias/phpmyadmin.conf 文件里加上Allow from ::1 即可修正问题。– Tiberiu-Ionu Stan Feb 4 at 16:07 

 

我添加的位置在Allow from 127.0.0.1 和 之间,重启WAMP后,phpMyAdmin便可以正常访问了:)

bitsCN.com
Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template