OK論壇

 找回密碼
 註冊
查看: 1650|回復: 5

開機檔的訊息,這次的問題好像比較嚴重了。

 關閉 [複製鏈接]
  • TA的每日心情
    慵懶
    2012-7-19 08:02 AM
  • 簽到天數: 130 天

    連續簽到: 1 天

    [LV.7]常住居民III

    發表於 2009-2-19 01:35:47 | 顯示全部樓層 |閱讀模式
    Login :
    DB server Error - Table '.\ragnarok\global_reg_value' is marked as crashed and should be repaired

    Char :
    DB server Error (insert `status_change`)- Table '.\ragnarok\status_change' is marked as crashed and should be repaired
    DB server Error (select `status_change`)- Table '.\ragnarok\status_change' is marked as crashed and should be repaired
    DB server Error (delete `status_change`)- Table '.\ragnarok\status_change' is marked as crashed and should be repaired

    DB server Error (DELETE `inventory`)- Table '.\ragnarok\inventory' is marked as crashed and should be repaired
    DB server Error (INSERT `inventory`)- Table '.\ragnarok\inventory' is marked as crashed and should be repaired



    出現在Login。

    有些人反應裝備全部都不見了,但是人物還在

    能請問那行訊息的意思嘛 ?

    [ 本帖最後由 x0823x 於 2009-2-19 05:11 PM 編輯 ]
    回復

    使用道具 舉報

  • TA的每日心情
    慵懶
    2012-4-18 01:41 AM
  • 簽到天數: 15 天

    連續簽到: 0 天

    [LV.4]偶爾看看III

    發表於 2009-2-19 02:12:54 | 顯示全部樓層
    #1
    global_reg_value
    (存變數的地方)

    代表無法登入

    可以先嘗試修復數據庫

    如果無法修復

    可以查詢下列語句
    1. 1.      DROP DATABASE IF EXISTS `global_reg_value`;
    2. 2.      CREATE TABLE `global_reg_value` (
    3. 3.        `char_id` int(11) unsigned NOT NULL default '0',
    4. 4.        `str` varchar(255) NOT NULL default '',
    5. 5.        `value` varchar(255) NOT NULL default '0',
    6. 6.        `type` int(11) NOT NULL default '3',
    7. 7.        `account_id` int(11) unsigned NOT NULL default '0',
    8. 8.        PRIMARY KEY  (`char_id`,`str`,`account_id`),
    9. 9.        KEY `account_id` (`account_id`),
    10. 10.    KEY `char_id` (`char_id`)
    11. 11.  ) ENGINE=MyISAM;
    複製代碼

    [ 本帖最後由 濕濕的異想世界 於 2009-2-19 02:27 AM 編輯 ]
    回復 支持 反對

    使用道具 舉報

  • TA的每日心情
    慵懶
    2012-7-19 08:02 AM
  • 簽到天數: 130 天

    連續簽到: 1 天

    [LV.7]常住居民III

     樓主| 發表於 2009-2-19 02:52:44 | 顯示全部樓層

    回覆 2樓的 濕濕的異想世界 的帖子

    那請問該怎麼修復呢 ?

    對SQL實在不熟 = .. =


    之後發現 Char  也有

    Char :
    DB server Error (insert `status_change`)- Table '.\ragnarok\status_change' is marked as crashed and should be repaired
    DB server Error (select `status_change`)- Table '.\ragnarok\status_change' is marked as crashed and should be repaired
    DB server Error (delete `status_change`)- Table '.\ragnarok\status_change' is marked as crashed and should be repaired

    DB server Error (DELETE `inventory`)- Table '.\ragnarok\inventory' is marked as crashed and should be repaired
    DB server Error (INSERT `inventory`)- Table '.\ragnarok\inventory' is marked as crashed and should be repaired


    [ 本帖最後由 x0823x 於 2009-2-19 04:46 AM 編輯 ]
    回復 支持 反對

    使用道具 舉報

  • TA的每日心情
    開心
    2024-9-22 07:14 PM
  • 簽到天數: 238 天

    連續簽到: 1 天

    [LV.7]常住居民III

    發表於 2009-2-19 07:19:58 | 顯示全部樓層
    資料庫損毀

    有備份資料嗎?
    回復 支持 反對

    使用道具 舉報

    該用戶從未簽到

    發表於 2009-2-19 15:33:02 | 顯示全部樓層
    定時備份很重要

    尤其在資料庫毀損的狀況下尤其重要

    資料庫毀損可能算好修復的,一般只需修復整體架構,但是裡面所記錄的數據...可能就會是心中的痛了

    修復步驟很簡單:

    1.drop database IF EXISTS `ragnarok`;

    2.重新導入:Main_MySQL.sql

    3.重新導入備份的資料

    以上這樣就完成了!
    回復 支持 反對

    使用道具 舉報

  • TA的每日心情
    慵懶
    2012-7-19 08:02 AM
  • 簽到天數: 130 天

    連續簽到: 1 天

    [LV.7]常住居民III

     樓主| 發表於 2009-2-19 16:26:10 | 顯示全部樓層
    摁 . 有備份 . 但是以防萬一所以還是來這問問

    正嘗試用EMS修復當中。。

    --

    修復完成,請版主關帖。

    謝謝各位幫忙。

    [ 本帖最後由 x0823x 於 2009-2-19 05:12 PM 編輯 ]
    回復 支持 反對

    使用道具 舉報

    您需要登錄後才可以回帖 登錄 | 註冊

    本版積分規則

    Archiver|手機版|小黑屋|OK討論區

    GMT+8, 2025-6-28 10:48 PM , Processed in 0.208856 second(s), 20 queries , Gzip On.

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

    快速回復 返回頂部 返回列表