1,105,546 Community Members

XAMPP

Member Avatar
davy_yg
Veteran Poster
1,117 posts since May 2011
Reputation Points: 0 [?]
Q&As Helped to Solve: 1 [?]
Skill Endorsements: 1 [?]
 
0
 

Hello,

I have the following error whenever I try to run phpmyadmin:

Welcome to phpMyAdmin

Error

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 to fix it?

Member Avatar
diafol
Where are my eyes?
12,977 posts since Oct 2006
Reputation Points: 1,821 [?]
Q&As Helped to Solve: 1,848 [?]
Skill Endorsements: 92 [?]
Moderator
Featured
Sponsor
 
0
 

Is MySQL running? What does your XAMPP control panel show?

Member Avatar
davy_yg
Veteran Poster
1,117 posts since May 2011
Reputation Points: 0 [?]
Q&As Helped to Solve: 1 [?]
Skill Endorsements: 1 [?]
 
0
 

Yes, mysql is running.

I can see the XAMPP Control Panel, but not the phpmyadmin.

Member Avatar
diafol
Where are my eyes?
12,977 posts since Oct 2006
Reputation Points: 1,821 [?]
Q&As Helped to Solve: 1,848 [?]
Skill Endorsements: 92 [?]
Moderator
Featured
Sponsor
 
0
 

phpmyadmin is not listed in the xampp control panel.
Can you access mysql from a php script?

Member Avatar
davy_yg
Veteran Poster
1,117 posts since May 2011
Reputation Points: 0 [?]
Q&As Helped to Solve: 1 [?]
Skill Endorsements: 1 [?]
 
0
 

I mean I cannot see phpmyadmin by typing: localhost/phpmyadmin because this error appears:

Welcome to phpMyAdmin

Error

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

I do not know if I can access mysql with a php script. I think I can since I still can view my webpage (without the database).

Well, I need to test it first.

You
This article has been dead for over three months: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article