目录

【XAMPP】启动数据库Error: MySQL shutdown unexpectedly.

问题:

启动MySQL时报错如下:

Error: MySQL shutdown unexpectedly.

This may be due to a blocked port, missing dependencies,

improper privileges, a crash, or a shutdown by another method.

Press the Logs button to view error logs and check

the Windows Event Viewer for more clues

If you need more help, copy and post this

entire log window on the forums

解决方法:

  1. 打开注册表编辑器
  2. 导航到:计算机\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MySQL
  3. 双击 ImagePath ,将数值数据修改为xampp下mysql下bin下文件的地址,例如:d:\xampp\mysql\bin\mysqld.exe --defaults-file=d:\xampp\mysql\bin\my.ini mysql


  1. 设置完毕后,点击Start,启动成功
本文是转载文章,点击查看原文
如有侵权,请联系 xyy@jishuzhan.net 删除
相关推荐
tjsoft14 分钟前
Nginx之https重定向为http
数据库
Yan-英杰30 分钟前
【百日精通JAVA | SQL篇 | 第四篇】约束
java·服务器·开发语言·数据库·人工智能·sql·mysql
小小码农很少烦恼1 小时前
Issar 搜索
数据库
江沉晚呤时1 小时前
C#中观察者模式(Observer Pattern)深入解析
java·服务器·数据库
肖恩想要年薪百万2 小时前
如何在idea中快速搭建一个Spring Boot项目?
java·数据库·spring boot·后端·学习·mysql·intellij-idea
丁总学Java2 小时前
Spring Data JPA中的List底层:深入解析ArrayList的奥秘!!!
数据结构·数据库·list
江沉晚呤时2 小时前
如何深入理解C#中的备忘录模式(Memento Pattern)设计模式
运维·服务器·数据库·c#·.netcore
RLG_星辰2 小时前
第二章日志分析-mysql应急响应笔记
运维·数据库·mysql·应急响应·玄机
嘉然今天吃粑粑柑3 小时前
🚀 时序数据库:机器监控数据采集的最佳解决方案
数据库
Java陈序员3 小时前
邻家小铺!一个基于 SpringBoot 和 Vue 的商城系统!
vue.js·spring boot·mysql