在重装MySQL5.6.25安装到进行配置的时候,一直在等待服务的启动。如果手动在系统服务启动会提示1067错误,这个错误在网上很常见,然而我试过了很多方法均无法解决。

于是看ProgramData\MySQL Server 5.6\data下的 ***.err 错误日志,看出错的部分:

2015-06-04 13:08:19 5200 [Warning] InnoDB: Doublewrite does not have page_no=0 of space: 0

2015-06-04 13:08:19 5200 [ERROR] InnoDB: space header page consists of zero bytes in data file .\ibdata1

2015-06-04 13:08:19 5200 [ERROR] InnoDB: Could not open or create the system tablespace. If you tried to add new data files to the system tablespace, and it failed here, you should now edit innodb_data_file_path in my.cnf back to what it was, and remove the new ibdata files InnoDB created in this failed attempt. InnoDB only wrote those files full of zeros, but did not yet use them in any way. But be careful: do not remove old data files which contain your precious data!

2015-06-04 13:08:19 5200 [ERROR] Plugin 'InnoDB' init function returned error.

2015-06-04 13:08:19 5200 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.

2015-06-04 13:08:19 5200 [ERROR] Unknown/unsupported storage engine: INNODB

2015-06-04 13:08:19 5200 [ERROR] Aborting

看样子像是文件内容出错,删除 ProgramData\MySQL Server 5.6\data 下的 ib_logfile0、ib_logfile1、ibdata1 三个文件。重新启动MySQL服务,依然1067错误。继续看错误日志:

2015-06-04 13:11:00 be8 InnoDB: Operating system error number 87 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

2015-06-04 13:11:00 5932 [ERROR] InnoDB: File .\ib_logfile101: 'aio write' returned OS error 187. Cannot continue operation

于是在 ProgramData\MySQL Server 5.6的my.ini文件最后一行加上

innodb_flush_method=normal

问题得以解决。(如果还不行,就再删除那三个文件再启动)

mysql运行报错64bit_关于MySQL5.6.25在Win7 64bit下重装后无法启动的解决方法相关推荐

  1. 报错:/BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKit_Sim/UIKit-3512.29.5/UITableView.m:7943解决方法

    报错:/BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKit_Sim/UIKit-3512.29.5/UITableView.m:7943解决方法 ...

  2. Linux下安装mysql后无法启动的解决方法

    在Linux下安装完mysql后,mysql服务无法启动,总是failer.       这个不是因为mysql安装失败,而是因为启动了SELinux.       进入/etc/selinux/co ...

  3. 登录mysql报错Failed to connect to backoff 或 Failed to get D-Bus connection: Operation not permitted解决方法

    报错: Failed to get D-Bus connection: Operation not permitted 或 mysql -u root -p 登录mysql时报错 2020-09-16 ...

  4. mysql报错ERROR 1206 (HY000): The total number of locks exceeds the lock table size的解决方法...

    1. 问题背景         InnoDB是新版MySQL(v5.5及以后)默认的存储引擎,之前版本的默认引擎为MyISAM,因此,低于5.5版本的mysql配置文件.my.cnf中,关于InnoD ...

  5. MySQL报错“Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggre”解决方法

    解决MySQL5.7版本之后使用GROUP BY语句时报错 问题原因 解决方法 今天使用mysql简单的一句分组查询语句(GROUP BY)报错了. mysql> SELECT * FROM t ...

  6. MATLAB运行程序报错:“等号右侧的输出数目不足,不满足赋值要求。”的解决方法

    等号右侧的输出数目不足,不满足赋值要求.         在Matlab运行程序时出现这种情况的原因即是:在使用Matlab自带的函数或者调用自己创建的函数时,等式(等号"=")两 ...

  7. Vue报错:Uncaught TypeError: Cannot assign to read only property’exports‘ of object’#Object‘的解决方法...

    发现问题 运行一下以前的一个Vue+webpack的 vue仿新闻网站  小项目,报错 由于自己vue学习不深入,老是这个报错,找了好久(确切的说是整整一下午^...^)才找到原因 -v- Uncau ...

  8. svn报错:“Previous operation has not finished; run ‘cleanup‘ if it was interrupted“ 的解决方法

    问题描述 从SVN上拉下来Document文档(word和excel),在本地修改后,准备通过TortoiseSVN提交,发现报错. Error: Previous operation has not ...

  9. SQL报错:You can’t specify target table ‘person’ for update in FROM clause的解决方法

    You can't specify target table 'person' for update in FROM claus 不能在FROM子句中指定要更新的目标表'person' 报错原因:在M ...

最新文章

  1. 【透明版九宫格背景图片】仅依靠background的几个属性组合搭配出酷炫的透明背景卡片效果→适用于大数据可视化、数据大屏展示页面
  2. grub legacy
  3. php中post,php中post的用法是什么
  4. 前端学PHP之PHP操作memcache
  5. Setting property 'source' to 'org.eclipse.jst.jee.server:hczm' did not find a matching property
  6. sql实现like多个值的查询
  7. 关于Application.Lock和Lock(obj)
  8. EBITDA的计算公式
  9. 2020年Java程序员应该学习的10大技术
  10. 为 .net 生态贡献力量——制作并上传 nuget 包(内有独家彩蛋)
  11. 如何看oracle 删除完全,如何完全删除Oracle数据库
  12. CSS效果:固定页脚、PNG透明、最小高度 3枚
  13. python序列化类_python 序列化
  14. Coarse-Grained lock 粗粒度锁
  15. 你技术这么好,总要改变点什么把!
  16. iOS申请证书,Certificates, Identifiers Profiles 简介
  17. java变量不声明可以直接使用吗_Java基础_变量的声明与使用
  18. 2021-06-22ctf学习wp模板
  19. 单元格中公式结果为0如何不显示0符号?
  20. Phalanx 动态规划

热门文章

  1. tableview 分组显示返回footerviewt和headerView的高度不能为0的问题
  2. 自定义视图 视图控制器(UIViewController)
  3. php 枚举cookie内容,php如何修改cookie内容?
  4. js实现线路流动_52期:实现redux与reactredux
  5. inrange函数_Python 初学者必备的常用内置函数
  6. python的知识点总结云分享_Python工程师面试必备25条Python知识点
  7. curl 慢 不稳定_Node.js VM 不完全指北
  8. Linux脚本让我选择文件,linux – 用于选择文件和打印文件大小的Awk脚本
  9. arcengine 加载地图不显示_用LSV下载城市地图、全省地图教程
  10. 5g虚拟技术旅游_5G赋能VR产业变革