phpMyAdmin - Access Denied - Error 2002 [Resolved]

Problems with the Windows version of XAMPP, questions, comments, and anything related.

phpMyAdmin - Access Denied - Error 2002 [Resolved]

Postby vahrion » 31. July 2012 20:02

When i go to phpmyadmin in my browser, I get this Access Denied page:
Welcome to phpMyAdmin


MySQL said: Documentation
#2002 - No connection could be made because the target machine actively refused it.

The server is not responding (or the local server's socket is not correctly configured).
Connection for controluser as defined in your configuration failed.

How can I get phpMyAdmin to show up properly? Any ideas would be highly appreciated.

edit: I don't know what happened but localhost/phpmyadmin started working... ( still doesn't.) I didn't reboot my computer or make edits to php.ini or my.ini
Still, I'd love to hear why it might not've worked before


I am using Windows Vista SP2 64-bit.
I just downloaded XAMPP 1.8 today, and ran that; Installed both Apache and Mysql as services.

According to the control panel, Apache (80,443) and Mysql (3306) are both running.
Both of these give me the same error:
- localhost/phpmyadmin

I am quite sure that mysql is working. CD collection works.

The only line uncommented in my hosts file is: localhost

In my.ini, I uncommented this bit:

I'm not sure if there's anything to edit in php.ini, but this is what's set for sockets. I made no edits:
pdo_mysql.default_socket = "MySQL"
mysql.default_socket = "MySQL"
mysqli.default_socket = "MySQL"

Apache HTTP Server and mysqld are both exceptions that are enabled in my Windows Firewall.
Posts: 1
Joined: 31. July 2012 19:32
Operating System: Windows Vista

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 45 guests