Windows 7 上的 XAMPP 无法正常工作 [英] XAMPP on windows 7 not working properly

查看:44
本文介绍了Windows 7 上的 XAMPP 无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚在 Windows 7 上安装了 XAMPP lite.我有两个驱动器 - C: 用于操作系统和常规文件,以及一个外部驱动器 E:.我在 E:(在根目录上)安装了 XAMPP lite,它给我带来了问题.Apache 工作得很好,但 MySQL 不工作.当我转到 http://localhost/phpmyadmin/ 时,它给了我以下错误:

I just installed XAMPP lite on Windows 7. I have two drives - C: for the OS and regular files, and an external drive E:. I installed XAMPP lite on E: (on the root), and its been giving me problems. Apache works well enough, but MySQL doesn't work. When I go to http://localhost/phpmyadmin/, it gives me the following error:

Error

MySQL said: 
#2003 - Can't connect to MySQL server on 'localhost' (10061)
Connection for controluser as defined in your configuration failed.

关于可能是什么问题的任何想法?我使用了 32 位版本的 XAMPP lite 的 zip 文件.这是 Windows 7 家庭高级版.

Any ideas as to what could be the problem? I used the zip file for XAMPP lite, the 32 bit version. This is on Windows 7 Home premium.

谢谢!

推荐答案

今天发生在我身上,这是因为 Dropbox.exe 使用了端口 3306.如果您从 XAMPP 控制面板运行端口检查,您将能够查看是否存在任何冲突的端口问题.

This happened to me today, and it was because Dropbox.exe was using port 3306. If you run the Port-Check from XAMPP control panel, you will be able to see if there are any conflicting port issues.

这篇关于Windows 7 上的 XAMPP 无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆