Issue information

Issue ID
#2493
Status
Working as Intended
Severity
None
Started
Hercules Elf Bot
Nov 28, 2008 8:21
Last Post
Hercules Elf Bot
Nov 28, 2008 8:21
Confirmation
N/A

Hercules Elf Bot - Nov 28, 2008 8:21

Originally posted by [b]arcdigital[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=2493

I am using a central login DB with separate char/map dbs for each server. When I try to run the servers, I get this error

[SQL]: DB error - Table 'logins.global_reg_value' doesn't exist
[Debug]: at ..\src\login\account_sql.c:557 - SELECT `str`,`value` FROM `global_reg_value` WHERE `type`='1' AND `account_id`='1

It is looking for global_reg_value in the logins db, when it should be looking for it in the char db

My inter_athena has this, so I know it is an issue with the code (and that global sql variable stuff)

sql.db_database: logins
char_server_db: lowrate
map_server_db: lowrate
log_db_db: logs