日韩久久久精品,亚洲精品久久久久久久久久久,亚洲欧美一区二区三区国产精品 ,一区二区福利

mysql 1067 進程意外終止 無法啟動

系統(tǒng) 2559 0

查看日志 data/XXX.err?

發(fā)現(xiàn)如下錯誤

      [ERROR] InnoDB: Attempted to open a previously opened tablespace. Previous tablespace mysql/innodb_index_stats uses space ID: 2 at filepath: .\mysql\innodb_index_stats.ibd. Cannot open tablespace mydatabase/blackboard which uses space ID: 2 at filepath: .\tum_mitfahrer_app\blackboard.ibd

InnoDB: Error: could not open single-table tablespace file .\tum_mitfahrer_app\blackboard.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.


    

解決方法:

在配置文件my.ini里添加如下

      [mysqld]

innodb_force_recovery = 1


    

啟動mysql服務(wù)成功了!  

但是。。。在查詢一些表時卻出錯提示:

      Table 'XXX' doesn't exist


    

FUCK!

再改my.ini :

      innodb_force_recovery = 0


    

是的!要再改為0!然后再重啟mysql服務(wù)!

可以了!媽蛋啊~~~!!

差點毀了客戶的數(shù)據(jù),臥槽!搞了一天!!  

mysql 1067 進程意外終止 無法啟動


更多文章、技術(shù)交流、商務(wù)合作、聯(lián)系博主

微信掃碼或搜索:z360901061

微信掃一掃加我為好友

QQ號聯(lián)系: 360901061

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點擊下面給點支持吧,站長非常感激您!手機微信長按不能支付解決辦法:請將微信支付二維碼保存到相冊,切換到微信,然后點擊微信右上角掃一掃功能,選擇支付二維碼完成支付。

【本文對您有幫助就好】

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描上面二維碼支持博主2元、5元、10元、自定義金額等您想捐的金額吧,站長會非常 感謝您的哦!!!

發(fā)表我的評論
最新評論 總共0條評論
主站蜘蛛池模板: 集安市| 中卫市| 加查县| 绥江县| 中牟县| 宁安市| 黔西县| 建平县| 驻马店市| 昔阳县| 东乡县| 岢岚县| 玛纳斯县| 庆云县| 罗山县| 天峨县| 鸡泽县| 红河县| 台湾省| 永州市| 元氏县| 洪洞县| 乡宁县| 乳山市| 都匀市| 岚皋县| 宜黄县| 涟水县| 横山县| 贵定县| 垫江县| 衡阳市| 华安县| 屏边| 莫力| 嘉黎县| 新宁县| 喀喇| 遂溪县| 莱芜市| 庆城县|