Page 1 of 1

LoginServer Error

Posted: Tue Feb 09, 2010 12:15 pm
by DeVe
If you want to receive support we need this info to help you properly.
ยป Find Revision
L2J Revision 3923:
L2JDP Revision 7052:

the error is this:
2010.02.09 13:12:34,038 WARNING 12 com.l2jserver.loginserver.LoginController Could not check password:com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'userIP' in 'field list'

Re: LoginServer Error

Posted: Tue Feb 09, 2010 12:16 pm
by Probe
when exactly did this happen? does it happen for multiple chars or just this once?

Re: LoginServer Error

Posted: Tue Feb 09, 2010 12:17 pm
by BiggBoss
you must update your accounts table in database, so it can match the new columns

Re: LoginServer Error

Posted: Tue Feb 09, 2010 12:19 pm
by DeVe
Probe wrote:when exactly did this happen? does it happen for multiple chars or just this once?


Do not let anyone enter, just update and when I lifted the server, nobody can enter the login and it gives me.

Re: LoginServer Error

Posted: Tue Feb 09, 2010 12:36 pm
by janiii
update your loginserver database:

Code: Select all

ALTER TABLE `accounts` ADD  `userIP` char(15) DEFAULT NULL;ALTER TABLE `accounts` ADD  `pcIp` char(15) DEFAULT NULL;ALTER TABLE `accounts` ADD  `hop1` char(15) DEFAULT NULL;ALTER TABLE `accounts` ADD  `hop2` char(15) DEFAULT NULL;ALTER TABLE `accounts` ADD  `hop3` char(15) DEFAULT NULL;ALTER TABLE `accounts` ADD  `hop4` char(15) DEFAULT NULL;

Re: LoginServer Error

Posted: Tue Feb 09, 2010 1:01 pm
by DeVe
janiii wrote:update your loginserver database:

Code: Select all

ALTER TABLE `accounts` ADD  `userIP` char(15) DEFAULT NULL;ALTER TABLE `accounts` ADD  `pcIp` char(15) DEFAULT NULL;ALTER TABLE `accounts` ADD  `hop1` char(15) DEFAULT NULL;ALTER TABLE `accounts` ADD  `hop2` char(15) DEFAULT NULL;ALTER TABLE `accounts` ADD  `hop3` char(15) DEFAULT NULL;ALTER TABLE `accounts` ADD  `hop4` char(15) DEFAULT NULL;

Ty janiii :)

Re: LoginServer Error

Posted: Wed Feb 10, 2010 7:27 am
by denser
why this update not commited?

Re: LoginServer Error

Posted: Wed Feb 10, 2010 7:29 am
by janiii
it is commited, but i think it doesnt run when loginserver has a different database than gameserver. only posted here the sql query, so that he can run it .

Re: LoginServer Error

Posted: Wed Feb 10, 2010 8:43 am
by denser
sorry, my fault. didn't noticed :P and yes it don't apply automatically.