win7下DockerToolbox中的MySQL启动失败-Cannot continue oper ation?

docker-compose.yml 编排文件在linux和win10运行是正常, win7中的DockerToolbox就出现下面问题.

处理了现象一后, 又跑出现象二. 囧~

错误现象一

mysql_1     | 2018-01-30T09:01:32.534590Z 0 [ERROR] InnoDB: File ./ib_logfile0:
'aio write' returned OS error 122. Cannot continue operation
mysql_1     | 2018-01-30T09:01:32.534632Z 0 [ERROR] InnoDB: Cannot continue oper
ation.

讨论记录 用了里面的脚本又出现下面的错误.

错误现象二

mysql5.6_1  | 2018-01-30 08:43:06 18 [Warning] InnoDB: Doublewrite does not have
 page_no=0 of space: 0
mysql5.6_1  | 2018-01-30 08:43:06 18 [ERROR] InnoDB: space header page consists
of zero bytes in data file ./ibdata1
mysql5.6_1  | 2018-01-30 08:43:06 18 [ERROR] InnoDB: Could not open or create th
e 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 t
o what it was, and remove the new ibdata files InnoDB created in this failed att
empt. InnoDB only wrote those files full of zeros, but did not yet use them in a
ny way. But be careful: do not remove old data files which contain your precious
 data!
阅读 4k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题