mysql56服务突然无法启动了

liuzixi 2013-01-11 02:42:42
windows xp下面装了mysql5.6,用了一段时间都很正常。但昨天突然无法启动mysql56服务了,报错:“在本地计算机无法启动mysql56服务,错误1067 进程意外终止”。

mysql.ini配置也没发生更改过,替换初始的mysql.ini文件后也报一样的错。3306端口也没被占用。

回忆了下,此前装了google chrome浏览器,装浏览器之前mysql都好好的,难道是和chrome有冲突?

请教各位,如果不卸载重装mysql,有没有什么方案可以解决此问题?

...全文
5131 9 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
9 条回复
切换为时间正序
请发表友善的回复…
发表回复
aortic 2015-08-10
  • 打赏
  • 举报
回复
引用 6 楼 yu273790103 的回复:
如果将my.ini文件改名为my-default.ini里面配置的属性好像没起作用啊。 遇到上面的问题在网上看到另一种方法:删除data目录下的ib_logfile0和ib_logfile1文件。我是按照这个方法弄好的
太有用了
sun768 2015-01-15
  • 打赏
  • 举报
回复
引用 7 楼 aa3313322122 的回复:
[quote=引用 6 楼 yu273790103 的回复:] 如果将my.ini文件改名为my-default.ini里面配置的属性好像没起作用啊。 遇到上面的问题在网上看到另一种方法:删除data目录下的ib_logfile0和ib_logfile1文件。我是按照这个方法弄好的
给一百个赞!!有用。[/quote] 这样处理有些 表 和表里的数据会有损坏的吧?
aa3313322122 2014-07-20
  • 打赏
  • 举报
回复
引用 6 楼 yu273790103 的回复:
如果将my.ini文件改名为my-default.ini里面配置的属性好像没起作用啊。 遇到上面的问题在网上看到另一种方法:删除data目录下的ib_logfile0和ib_logfile1文件。我是按照这个方法弄好的
给一百个赞!!有用。
yu273790103 2013-10-09
  • 打赏
  • 举报
回复
如果将my.ini文件改名为my-default.ini里面配置的属性好像没起作用啊。 遇到上面的问题在网上看到另一种方法:删除data目录下的ib_logfile0和ib_logfile1文件。我是按照这个方法弄好的
liuzixi 2013-01-11
  • 打赏
  • 举报
回复
引用 4 楼 rucypli 的回复:
完了 估计是数据文件损坏了 有备份就用备份还原 没备份的话 只能在配置文件里加这个innodb_force_recovery=4强制启动 然后尽快导出能导出的数据吧
多谢。没有备份呢。不明白原因导致的。
rucypli 2013-01-11
  • 打赏
  • 举报
回复
完了 估计是数据文件损坏了 有备份就用备份还原 没备份的话 只能在配置文件里加这个innodb_force_recovery=4强制启动 然后尽快导出能导出的数据吧
liuzixi 2013-01-11
  • 打赏
  • 举报
回复
130111 15:55:17 InnoDB: Operating system error number 997 in a file operation. InnoDB: Some operating system error numbers are described at InnoDB: http://dev.mysql.com/doc/refman/5.6/en/operating-system-error-codes.html InnoDB: Error: could not open single-table tablespace file .\sakila\actor.ibd InnoDB: We do not continue the crash recovery, because the table may become InnoDB: corrupt if we cannot apply the log records in the InnoDB log to it. InnoDB: To fix the problem and start mysqld: InnoDB: 1) If there is a permission problem in the file and mysqld cannot InnoDB: open the file, you should modify the permissions. InnoDB: 2) If the table is not needed, or you can restore it from a backup, InnoDB: then you can remove the .ibd file, and InnoDB will do a normal InnoDB: crash recovery and ignore that table. InnoDB: 3) If the file system or the disk is broken, and you cannot remove InnoDB: the .ibd file, you can set innodb_force_recovery > 0 in my.cnf InnoDB: and force InnoDB to continue crash recovery here.
Rotel-刘志东 2013-01-11
  • 打赏
  • 举报
回复
具体的看一下错误日志文件。
rucypli 2013-01-11
  • 打赏
  • 举报
回复
去数据目录找一下err日志 打开看下多半能知道原因

56,803

社区成员

发帖
与我相关
我的任务
社区描述
MySQL相关内容讨论专区
社区管理员
  • MySQL
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧