“#2002无法登录到MySQL服务器"登录时 [英] "#2002 Cannot log in to the MySQL server" on login
本文介绍了“#2002无法登录到MySQL服务器"登录时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我试图在Windows 8上使用XAMPP设置drupal,但是当我尝试登录phpmyadmin时,出现此错误:
I am trying to setup drupal on windows 8 with XAMPP but when I try to login to phpmyadmin, I get this error:
我尝试了很多不同的方法,但似乎无法正常工作. XAMPP控制面板上的Apache和MySQL都运行良好.
I've tried so many different things but I can't seem to get it working. Both Apache and MySQL are running fine from the XAMPP Control Panel.
推荐答案
如果您是全新安装,则config.inc.php
文件可能不存在.您需要重命名/复制config.sample.inc.php
文件,然后更改相关行.
If you're on a fresh install, config.inc.php
file may not exist. You need to rename/copy config.sample.inc.php
file then change the relevant line.
请检查以下链接:
phpMyAdmin抛出#2002无法登录到mysql服务器phpmyadmin.
这篇关于“#2002无法登录到MySQL服务器"登录时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文