Home > Database > Mysql Tutorial > body text

MySQL无法启动1067错误的又一种解决方法(机房断电)_MySQL

WBOY
Release: 2016-06-01 13:23:38
Original
871 people have browsed it

bitsCN.com

启动服务发生1067错误:

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

2.删除innodb表空间ibdata1

3.启动mysql服务:

4.导入数据:

5.检查数据:

虽然这方法简单,但需要mysqldump导出的数据文件进行还原。

bitsCN.com
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