phpmyadmin in xampp not working on windows 10

别等时光非礼了梦想. 提交于 2019-12-11 12:40:36

问题


I'm getting below error when I type in localhost/phpMyAdmin after starting apache and mysql server in Xampp in Windows 10.

Is there a way I can fix this issue?

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.

回答1:


If you are using the Bitnami version of Xampp you will have issues with Windows 10. Download and install an older version from sourceforge.net and it should work. I used version 1.7.3 and so far so good. http://sourceforge.net/projects/xampp/files/XAMPP%20Windows/




回答2:


I had the same problem but fixed it by replacing localhost with 127.0.0.1 in the config.inc.php file.



来源:https://stackoverflow.com/questions/31752863/phpmyadmin-in-xampp-not-working-on-windows-10

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!