本地启用XAMPP – MySQL shutdown unexpectedly问题解决
来源:互联网 发布:虚拟打印机端口删除 编辑:程序博客网 时间:2024/06/05 08:21
今天使用xampp的时候,mysql关闭之后突然无法启动,报错为:
15:30:15 [mysql] Error: MySQL shutdown unexpectedly.
15:30:15 [mysql] This may be due to a blocked port, missing dependencies,
15:30:15 [mysql] improper privileges, a crash, or a shutdown by another method.
15:30:15 [mysql] Press the Logs button to view error logs and check
15:30:15 [mysql] the Windows Event Viewer for more clues
15:30:15 [mysql] If you need more help, copy and post this
15:30:15 [mysql] entire log window on the forums
上网搜了一下,都说要把xampp\mysql\data下的ibdata1文件删掉,于是我也乐呵乐呵地把ibdata1删了。
删了之后果然启动成功,可是进myadmin一看......数据表全不见。并且以后每次启动mysql都要做这样的删除操作。
果断上网再查,发现一个一劳永逸又不影响数据的方法:
在mysql/bin/my.ini 文件 加一个:
[mysqld]
innodb_force_recovery = 4
这样就OK了。
- 本地启用XAMPP – MySQL shutdown unexpectedly问题解决
- 解决本地启用XAMPP – MySQL shutdown unexpectedly问题
- XAMPP Error: MySQL shutdown unexpectedly. 解决方法
- xampp 运行MySQL shutdown unexpectedly的解决方案
- xampp运行MySQL shutdown unexpectedly解决方案
- XAMPP:Apache shutdown unexpectedly
- Xampp Apache shutdown unexpectedly
- xampp 启动后mysql 报 Error: MySQL shutdown unexpectedly. 错误
- XAMPP Error: Apache shutdown unexpectedly
- XAMPP Error: Apache shutdown unexpectedly. 解决思路
- XAMPP的错误Error: Apache shutdown unexpectedly.
- XAMPP Error: Apache shutdown unexpectedly. 解决思路
- XAMPP Error: Apache shutdown unexpectedly. 解决思路
- XAMPP Error:Apache shutdown unexpectedly 解决方案
- XAMPP错误: Apache shutdown unexpectedly解决办法
- XAMPP APACHE Error: Apache shutdown unexpectedly
- XAMPP Apache 启动异常- Error: Apache shutdown unexpectedly.
- 运行XAMPP中的apache出现 Error: Apache shutdown unexpectedly
- # 我回家了,你们继续加油(2014年总结)
- C语言中的指针数组和数组指针
- [体系结构]设计模式(四)
- 微软面试3 最大子数组问题
- TCP与UDP的区别
- 本地启用XAMPP – MySQL shutdown unexpectedly问题解决
- 23种设计模式全解析
- C++之多态
- WPF中ComboBox的SelectionChanged方法的使用注意
- bootstrap关于日期控件被模态框遮盖的BUG修复
- 2015-03-28-绘图和可视化(1)-matplotlib API入门
- 第二章作业51.4(编写一个程序,判断用户输入的字符是否为数字,若是数字,则输出“a numerical charater”,否则输出“other charater”。)
- MVC应用程序实现文件库(FlexPaper)
- Activity启动模式 及 Intent Flags与栈的关联分析 .