Jump to content
  • 0

[SOLVED] DB error after changing jobs...and restarting server


pajodex

Question


  • Group:  Members
  • Topic Count:  78
  • Topics Per Day:  0.03
  • Content Count:  436
  • Reputation:   167
  • Joined:  12/12/17
  • Last Seen:  

Hi, I just got this weird error and notice right now.. right after I change job, charserv is throwing this error..

[SQL]: DB error - Table '.\ragnarok\skill' is marked as crashed and should be repaired
[Debug]: at h:\dxro\rathena\src\char\char.cpp:420 - DELETE FROM `skill` WHERE `char_id`='150121'

I tested with other characters... still the same..

after I restart my server.. now I'm getting this error..

[SQL]: DB error - Table '.\ragnarok\skill' is marked as crashed and should be repaired
[Debug]: at h:\dxro\rathena\src\char\char.cpp:2292 - SELECT 1 FROM `skill` LIMIT 1;
[Fatal Error]: char : A tables is missing in sql-server, please fix it, see (sql-files main.sql for structure)

....

I was in the middle of testing my script and this suddenly happens. xD 

I'm not really good at this stuff so please forgive me.

 

Here is what happens when I open my sql database xD

error.PNG.fae813f23fc9ae0e24c599f669504f28.PNG

 

 

SOLVED:
I dropped the `skill` table and made a new one xD

Edited by pajodex
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  86
  • Reputation:   21
  • Joined:  10/02/13
  • Last Seen:  

No need to drop it next time, just repair it. Open your MySQL console and execute the instruction:

USE <database> REPAIR TABLE <table_name>;

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...