Jump to content
  • 0

missing columns in SQL


pascal

Question


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  25
  • Reputation:   1
  • Joined:  02/02/12
  • Last Seen:  

Hi, After re-setting up my server i got a weird problem (see picture) i'm missing a few collums suchs as lvl collum, any1 got a solution? or where it gone wrong?

6z6ebm.jpg

Link to comment
Share on other sites

7 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  75
  • Topics Per Day:  0.02
  • Content Count:  2223
  • Reputation:   593
  • Joined:  10/26/11
  • Last Seen:  

In r15572, the `account`.`level` column has been replaced with `account`.`group_id`

r15572: New GM, Commands & Permissions system

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  222
  • Reputation:   35
  • Joined:  12/13/11
  • Last Seen:  

if you don't have an active going server atm drop all your tables and run the main sql file.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  633
  • Reputation:   78
  • Joined:  11/14/11
  • Last Seen:  

you can just rename the columns back to level but i suggest if your just going to start a new server use the latest one

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  75
  • Topics Per Day:  0.02
  • Content Count:  2223
  • Reputation:   593
  • Joined:  10/26/11
  • Last Seen:  

you can just rename the columns back to level but i suggest if your just going to start a new server use the latest one

Actually, the column name in SQL must match what is coded in the rAthena source, or else when it does a SQL query, the server won't be able to find what it's looking for. If your rAthena version is before 15572, the column should still be named `login`.`level` For version 15572 and after, the column should be named `login`.`group_id`

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  633
  • Reputation:   78
  • Joined:  11/14/11
  • Last Seen:  

you can just rename the columns back to level but i suggest if your just going to start a new server use the latest one

Actually, the column name in SQL must match what is coded in the rAthena source, or else when it does a SQL query, the server won't be able to find what it's looking for. If your rAthena version is before 15572, the column should still be named `account`.`level` For version 15572 and after, the column should be named `account`.`group_id`

In my test server I was using `level` which is the old structure of login table and when I try to use the new SVN version i just changed the column from `level` to `group_id` and it works fine.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  75
  • Topics Per Day:  0.02
  • Content Count:  2223
  • Reputation:   593
  • Joined:  10/26/11
  • Last Seen:  

Yes, just like running upgrade_svn15572.sql

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  25
  • Reputation:   1
  • Joined:  02/02/12
  • Last Seen:  

just got it 2 days so ill presume is after 15572 :D

Brian was right;

In r15572, the `account`.`level` column has been replaced with `account`.`group_id`

Thats why i love these forums :D

Edited by pascal
  • Upvote 1
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...