欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  数据库

错误代码:2013 Lost connection to MySQL server during query

程序员文章站 2022-05-17 21:01:12
...

错误代码:2013 Lost connection to MySQL server during query

安装好MySQL服务器,只要心建表,mysql服务就停止,网上各种搜索,查看错误日志文件J7QOUPHFF0VDD2O.err

2015-05-26 10:50:51 1160 InnoDB: Operating system error number 6 in a file operation.
InnoDB: Some operating system error numbers are described at
InnoDB:
2015-05-26 10:50:51 5344 [ERROR] InnoDB: File .\ibdata1: 'aio read' returned OS error 106. Cannot continue operation

看出可能是数据库引擎InnoDB问题,,然后又是各种搜索,有伟大的网友提示将my.ini中的

default-storage-engine=InnoDB 改为 default-storage-engine=MYISAM

问题搞定。

共勉!

本文永久更新链接地址