首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >MySQL将不会启动

MySQL将不会启动
EN

Stack Overflow用户
提问于 2018-11-13 06:21:24
回答 2查看 388关注 0票数 0

嘿,我对php和XAMPP等都很陌生。我想创建一个登录系统,但这需要我有一个MySQL,但是当我得到这个错误时,我查了一下,我不得不删除ibdata1,但是它一直回来,有人知道如何修复这个错误吗?

代码语言:javascript
复制
7:18:52  [mysql]    Attempting to start MySQL app...
7:18:53  [mysql]    Status change detected: running
7:18:56  [mysql]    Status change detected: stopped
7:18:56  [mysql]    Error: MySQL shutdown unexpectedly.
7:18:56  [mysql]    This may be due to a blocked port, missing dependencies, 
7:18:56  [mysql]    improper privileges, a crash, or a shutdown by another method.
7:18:56  [mysql]    Press the Logs button to view error logs and check
7:18:56  [mysql]    the Windows Event Viewer for more clues
7:18:56  [mysql]    If you need more help, copy and post this
7:18:56  [mysql]    entire log window on the forums
EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2018-11-13 06:47:31

MySQL使用3306作为默认端口。

作为Apache端口,我们也不能通过XAMPP更改MySQL端口,要更改它,我们必须编辑MySQL配置文件。

若要编辑配置文件,请打开位于XAMPP/mysql/bin/目录中的my.ini文件,查找包含编号3306的单词,eq: port = 3306,然后将其替换为您自己的文件,如3307。

票数 0
EN

Stack Overflow用户

发布于 2018-11-13 06:54:15

请在xampp配置文件中检查您的MySQL连接端口。它的默认端口3306,并在您的进程中检查这个端口。关闭此端口中的所有进程或更改xampp配置文件中的mysql连接端口。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/53274961

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档