Home > Database > Mysql Tutorial > body text

MySQL无法启动1067错误解决办法

WBOY
Release: 2016-06-07 17:52:37
Original
1163 people have browsed it

有很多朋友可能会时常碰到1067错误这个提示,下面我来介绍MySQL无法启动1067错误解决办法,有碰到此类问题的朋友可参考。

当电脑再次启动时候,发现mysql 服务无法启动,使用 net start 提示 1067错误,折腾了2个小时无法解决,后来只能通过手工删除数据文件,日志文件,再启动服务,然后导入数据来完成。

启动服务发生1067错误:

 

1.删除datadir 下的用户数据库文件 和 日志文件 (ib_logfile0,ib_logfile1)。

2.删除innodb表空间ibdata1

3.启动mysql服务:

4.导入数据:

5.?z查????/p>

 

虽然这方法简单,但需要mysqldump

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!