Jump to content
  • 0

Character_Variables Mysql Problem.


Question

Posted (edited)

Helllo I have problem with importing : character_variables
In MySql.
 

Here is the File.
 

CREATE TABLE IF NOT EXISTS `character_variables` (
`obj_id` INT NOT NULL DEFAULT '0',
`type` VARCHAR(86) NOT NULL DEFAULT '0',
`name` VARCHAR(86) CHARACTER SET UTF8 NOT NULL DEFAULT '0',
`value` VARCHAR(4000) CHARACTER SET UTF8 NOT NULL DEFAULT '0',
`expire_time` bigint(20) NOT NULL DEFAULT '0',
UNIQUE KEY `prim` (`obj_id`,`type`,`name`),
KEY `obj_id` (`obj_id`),
KEY `type` (`type`),
KEY `name` (`name`),
KEY `value` (`value`),
KEY `expire_time` (`expire_time`)
) ENGINE=MyISAM;
 
 
And here is the error. 
 
MySql Error
Game Server Console Error.
 
 
I use l2 Rebellion source rev 608 i think.
Edited by RaizelNPC

4 answers to this question

Recommended Posts

  • 0
Posted (edited)

Read the error "max key length is 1000", and your varchar is 4000... I wonder that's the point of such a huge value.. Second error "characters table is missing". I guess it's clear.

Edited by SweeTs
  • 0
Posted

Read the error "max key length is 1000", and your varchar is 4000... I wonder that's the point of such a huge value.. Second error "characters table is missing". I guess it's clear.

Last time when i change it to 255 and worked i got some erros with offline traiders any way its ok now.

Guest
This topic is now closed to further replies.


×
×
  • Create New...