[英]Unable to start MySQL from XAMPP Control Panel
我正在通过Udemy课程学习SQL,目前正在学习一门名为“使用MySQL学习数据库设计”的课程。
我已经下载了XAMPP,并且课程视频直接从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 community Edition,并使用了命令行功能,但是当尝试通过控制面板启动时,它没有运行。
我真的很想学习,非常感谢能帮助我克服这个问题的任何人。
谢谢格雷厄姆
首先关闭您的skype
然后再次启动xamp
服务器,因为skype有时使用了xamp所需的端口
接下来,如果xamp尚未启动,则将其config
为httpd.conf
并搜索Listen 80
将端口更改为81
并将httpd-ssl-conf
搜索Listen 430
更改为4430
重新启动xamp希望这可以解决您的问题
您正在尝试启动XAMPP(MySQL随附),但已经在计算机上安装并运行了MySQL Server 5.7。
1.打开Xampp应用程序。 2.然后转到配置。 Apache-> Apache(httpd conf)-> Search Listen 80将会出现在文件的开头。 3.将其更改为Listen82。4.然后搜索ServerNamelocalhost:80 5.将其更改为ServerNamelocalhost:82 6.然后转到config。 Apache的-> Apache(httpd-ssl- conf)-> Search Listen 442 7.将其更改为Listen 443
重新启动您的xampp
希望这能解决您的问题
首先,您应该单独安装MySQL。 然后转到已安装xampp的文件夹(默认为c :)。 转到phpMyAdim文件夹,您将看到config.inc.php文件,使用任何编辑器将其打开,然后输入您的MySQL密码。 希望它会起作用(默认情况下为空白)。
这对我来说是工作
01.Go to mysql/data/ directory
02. delete the ibdata1 & ib_logfile*(ib_logfile0,ib_logfile1,ib_logfile101) file
03. restart xampp server
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.