gpt4 book ai didi

php - 无法从 XAMPP 控制面板启动 MySQL

转载 作者:行者123 更新时间:2023-11-29 20:26:59 30 4
gpt4 key购买 nike

我正在通过 Udemy 类(class)学习 SQL,目前正在学习一门名为“使用 MySQL 学习数据库设计”的类(class)。

我已经下载了XAMPP,类(class)视频直接从XAMPP控制面板启动MySQL。但是我无法通过控制面板启动 MySQL。这是我收到的消息:

*

20:56:08  [mysql]   Attempting to start MySQL app...
20:56:09 [mysql] Status change detected: running
20:56:12 [mysql] Status change detected: stopped
20:56:12 [mysql] Error: MySQL shutdown unexpectedly.
20:56:12 [mysql] This may be due to a blocked port, missing dependencies,
20:56:12 [mysql] improper privileges, a crash, or a shutdown by another method.
20:56:12 [mysql] Press the Logs button to view error logs and check
20:56:12 [mysql] the Windows Event Viewer for more clues
20:56:12 [mysql] If you need more help, copy and post this
20:56:12 [mysql] entire log window on the forums
20:56:29 [mysql] Problem detected!
20:56:29 [mysql] Port 3306 in use by ""C:\Program Files\MySQL\MySQL Server 5.7\bin\mysqld.exe" --defaults-file="C:\ProgramData\MySQL\MySQL Server 5.7\my.ini" MySQL57"!
20:56:29 [mysql] MySQL WILL NOT start without the configured ports free!
20:56:29 [mysql] You need to uninstall/disable/reconfigure the blocking application
20:56:29 [mysql] or reconfigure MySQL and the Control Panel to listen on a different port
20:56:29 [mysql] Attempting to start MySQL app...
20:56:30 [mysql] Status change detected: running
20:56:33 [mysql] Status change detected: stopped
20:56:33 [mysql] Error: MySQL shutdown unexpectedly.
20:56:33 [mysql] This may be due to a blocked port, missing dependencies,
20:56:33 [mysql] improper privileges, a crash, or a shutdown by another method.
20:56:33 [mysql] Press the Logs button to view error logs and check
20:56:33 [mysql] the Windows Event Viewer for more clues
20:56:33 [mysql] If you need more help, copy and post this
20:56:33 [mysql] entire log window on the forums

*

我有可以根据需要添加的日志。另外,我已经下载了 sql 社区版并使用了命令行功能,但是当尝试通过控制面板启动时它没有运行。

我真的很想学习,所以非常感谢任何可以帮助我克服这个问题的人。

谢谢格雷厄姆

最佳答案

首先关闭您的 skype,然后再次启动您的 xamp 服务器,因为 Skype 有时会使用 xamp 所需的端口

下一步,如果 xamp 尚未启动,请进入 config 进入 httpd.conf 并搜索 Listen 80 将端口更改为 81 并将 httpd-ssl-conf 搜索 Listen 430 更改为 4430 重新启动你的xamp希望这可以解决你的问题

关于php - 无法从 XAMPP 控制面板启动 MySQL,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39258164/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com