为什么在xampp状态下禁用了mysql数据库,但在xampp控制面板上的位置显示为绿色? [英] why is mysql database deactivated on xampp status but green on the xampp control panel applocation?

查看:147
本文介绍了为什么在xampp状态下禁用了mysql数据库,但在xampp控制面板上的位置显示为绿色?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对XAMPP 1.7.4有问题.到目前为止,它在Windows 7和Windows 8上一直表现出色,但是当我尝试在Windows XP Service Pack 3上安装它时,它给了我一个MySQL错误#2002.
BIG的问题是,在状态页面中,MYSQL数据库被标记为已停用,如以下屏幕截图所示:

I have an issue with XAMPP 1.7.4. So far it has been doing great on windows 7 and 8, but when I tried installing it on windows xp service pack 3, it gave me a MySQL error #2002.
The BIG issue was that in the status page the MYSQL Database was noted as DEACTIVATED as seen in the screenshot below:


同时,在XAMPP控制面板应用程序中,即使在服务"选项卡中,MySQL实际上也运行良好,所以此设置可能是什么问题?


Meanwhile, in the XAMPP control panel application, MySQL is actually running well, even in the services tab, so what could be the problem with this set up???

推荐答案

我的问题:MySql状态显示为已停用.

My problem : MySql Status appears as deactivated.

  • 确保您的my.ini文件指向正确的MySql 端口(通常为3306)
  • 使用localhost:(Apache端口号)/phpmyadmin访问mysql用户: pma :该用户不需要密码.
  • Ensure your my.ini file points to the correct MySql port (typically 3306)
  • Use localhost:(Apache port number)/phpmyadmin to access the mysql user : pma : This user needs no password.

第二个要点是我如何解决我的问题.

The second bullet is how I resolved my problem.

这篇关于为什么在xampp状态下禁用了mysql数据库,但在xampp控制面板上的位置显示为绿色?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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