wampserver - Phpmyadmin access denied -


error mysql said: documentation

2002 - no connection made because target machine actively refused it.

the server not responding (or local server's socket not correctly configured).

normally because browser getting ipv6 version of localhost ip address , phpmyadmin config not setup allow address access.

edit \wamp\alias\phpmyadmin.conf , change :

if using apache 2.2.x

<directory "d:/wamp/apps/phpmyadmin3.5.1/">     options indexes followsymlinks multiviews     allowoverride     order deny,allow     deny     allow 127.0.0.1 </directory> 

to

<directory "d:/wamp/apps/phpmyadmin3.5.1/">     options indexes followsymlinks multiviews     allowoverride     order deny,allow     deny     allow 127.0.0.1 localhost ::1 </directory> 

if using apache 2.4.x change

<directory "d:/wamp/apps/phpmyadmin4.0.4/">     options indexes followsymlinks execcgi     allowoverride     order deny,allow     deny     allow 127.0.0.1     allow ::1     allow localhost </directory> 

to

<directory "d:/wamp/apps/phpmyadmin4.0.4/">     options indexes followsymlinks execcgi     allowoverride     require local </directory> 

Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -