问答

DockerToolbox中的MySQL启动失败?

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

错误现象一

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!

已搜索两次没有找到方法, 问题已提交到 v2ex, segmentfault, stackoverflow

win7下DockerToolbox的MySQL把数据volumes无法启动, 去除后可启动. (数据无法与win7共享) , 目前要想用只能用win10.