MySQL无法在XAMPP服务器上启动 [英] MySQL won't start on XAMPP server

查看:98
本文介绍了MySQL无法在XAMPP服务器上启动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的XAMPP服务器有问题.我可以启动Apache,FileZilla以及其他所有东西,但是没有问题,但是当我尝试启动MySQL时,它只是说

I have a problem with my XAMPP server. I can start Apache, FileZilla, and every thing else without problems, but when I try to start MySQL, it just says

尝试启动MySQL服务...

Attempting to start MySQL service...

它永远保持这种状态,就像它被冻结一样.

and it stays like that forever, like if it was frozen or something.

有什么办法解决它吗?

推荐答案

检查MySQL的日志文件.您将在以下目录中找到它们: C:\ xampp \ mysql \ data(假设xampp的标准安装位置)

Check the log files for MySQL. You will find them in this directory: C:\xampp\mysql\data (assuming standard install location of xampp)

还要检查是否没有其他程序或服务使用默认的MySql端口. 您可以使用以下命令来做到这一点:

Also check if no other program or service uses the default MySql port. You can do this by using this command:

netstat -an | findstr "3306"

如果显示任何内容,则说明正在使用默认的mysql端口.

If anything shows up the default mysql port is in use.

这篇关于MySQL无法在XAMPP服务器上启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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