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

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

系統 2286 0

查看日志 data/XXX.err?

發現如下錯誤

      [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服務成功了!  

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

      Table 'XXX' doesn't exist


    

FUCK!

再改my.ini :

      innodb_force_recovery = 0


    

是的!要再改為0!然后再重啟mysql服務!

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

差點毀了客戶的數據,臥槽!搞了一天??!  

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


更多文章、技術交流、商務合作、聯系博主

微信掃碼或搜索:z360901061

微信掃一掃加我為好友

QQ號聯系: 360901061

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

【本文對您有幫助就好】

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

發表我的評論
最新評論 總共0條評論
主站蜘蛛池模板: 梓潼县| 闽侯县| 宜都市| 静安区| 贺州市| 稷山县| 潞城市| 龙泉市| 惠来县| 宁远县| 绍兴市| 东阳市| 武邑县| 织金县| 新化县| 灌云县| 上蔡县| 白城市| 抚顺县| 隆尧县| 南郑县| 郑州市| 娱乐| 长沙县| 沛县| 贞丰县| 兰州市| 旌德县| 广河县| 安图县| 虹口区| 永丰县| 左贡县| 巍山| 寿阳县| 邯郸市| 吉首市| 五常市| 甘谷县| 库尔勒市| 萝北县|