XAMPP/LAMPP “Connection for controluser as defined in your configuration failed”

微笑、不失礼 提交于 2019-12-12 00:59:38

问题


I see the others who answered this, but the answer says to log in as root and create a new user and database. I can't even get that far. I just installed a brand new XAMPP instance, start it and when I go to localhost/phpmyadmin, I get the error message in the subject line.

I also have:

2002 No such file or directory

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

I checked that as well and I see the socket info in the config is left blank and the comment above it says that it will just use the mysql defaults.

When I go to the status page for XAMPP, it says that the MySQL database is activated. I just can't connect to phpmyadmin.

I literally did nothing else from install to startup to trying to get to phpmyadmin.


回答1:


I solved this same problem by empting cookies/cache of firefox.



来源:https://stackoverflow.com/questions/16305626/xampp-lampp-connection-for-controluser-as-defined-in-your-configuration-failed

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