Start New Discussion within our Web Development Community

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?

Yes, mysql is running.

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

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.

This article has been dead for over six months. Start a new discussion instead.