问题描述
我看到其他人回答了这个问题,但是回答说要以root用户身份登录并创建一个新的用户和数据库.我什至不能走那么远.我刚刚安装了一个全新的XAMPP实例,启动它,当我转到localhost/phpmyadmin时,在主题行中收到错误消息.
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.
我也有:
服务器没有响应(或本地服务器的套接字未正确配置)
The server is not responding (or the local server's socket is not correctly configured)
我也检查了一下,发现配置中的套接字信息留空,上面的注释说它将只使用mysql默认值.
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.
当我进入XAMPP的状态页面时,它表示MySQL数据库已激活.我只是无法连接到phpmyadmin.
When I go to the status page for XAMPP, it says that the MySQL database is activated. I just can't connect to phpmyadmin.
从安装到启动,再到尝试进入phpmyadmin,我几乎什么都没做.
I literally did nothing else from install to startup to trying to get to phpmyadmin.
推荐答案
我通过清空firefox的cookie/缓存来解决了同样的问题.
I solved this same problem by empting cookies/cache of firefox.
这篇关于XAMPP/LAMPP“您在配置中定义的控制用户的连接失败"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!