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

mysql 1067 進(jìn)程意外終止 無法啟動(dòng)

系統(tǒng) 2530 0

查看日志 data/XXX.err?

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

      [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


    

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

但是。。。在查詢一些表時(shí)卻出錯(cuò)提示:

      Table 'XXX' doesn't exist


    

FUCK!

再改my.ini :

      innodb_force_recovery = 0


    

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

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

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

mysql 1067 進(jìn)程意外終止 無法啟動(dòng)


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

微信掃碼或搜索:z360901061

微信掃一掃加我為好友

QQ號(hào)聯(lián)系: 360901061

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

【本文對(duì)您有幫助就好】

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

發(fā)表我的評(píng)論
最新評(píng)論 總共0條評(píng)論
主站蜘蛛池模板: 沙河市| 乐业县| 肇庆市| 宜兰县| 盈江县| 石渠县| 黔江区| 礼泉县| 金门县| 西吉县| 黔东| 集安市| 龙游县| 蒲城县| 漯河市| 甘孜县| 龙南县| 安平县| 理塘县| 榆树市| 乌恰县| 绥德县| 新泰市| 锡林浩特市| 高邑县| 武山县| 三台县| 大城县| 星子县| 夹江县| 石楼县| 濮阳市| 渭南市| 观塘区| 太仆寺旗| 上犹县| 岢岚县| 临猗县| 兴隆县| 湘西| 施秉县|