Hi leute habe da ein kleines Problem in der neue TrinityCore ist ein Auth Datenbank Update dabei:
SQL Datei:
/*
- TrinityCoresqlupdatesauth2014_05_02_00_action_ip_logger.sql
*/
ALTER TABLEaccount
ADD COLUMNlast_attempt_ip
VARCHAR(15) NOT NULL DEFAULT ‘127.0.0.1’ AFTERlast_ip
;
CREATE TABLE logs_ip_actions
(
id
INT(10) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT ‘Unique Identifier’,
account_id
INT(10) UNSIGNED NOT NULL COMMENT ‘Account ID’,
character_guid
INT(10) UNSIGNED NOT NULL COMMENT ‘Character Guid’,
type
TINYINT(3) UNSIGNED NOT NULL,
ip
VARCHAR(15) NOT NULL DEFAULT ‘127.0.0.1’,
systemnote
TEXT NULL COMMENT ‘Notes inserted by system’,
unixtime
INT(10) UNSIGNED NOT NULL COMMENT ‘Unixtime’,
time
TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT ‘Timestamp’,
comment
TEXT NULL COMMENT ‘Allows users to add a comment’,
PRIMARY KEY (id
)
)
COMMENT=‘Used to log ips of individual actions’
COLLATE=‘utf8_general_ci’
ENGINE=InnoDB;
Bei mir kommt aber immer der Fehler wenn ich das einspielen möchte:
[Err] 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘ALTER TABLE account
ADD COLUMN last_attempt_ip
VARCHAR(15) NOT NULL DEF’ at line 4
[Err] /*
- TrinityCoresqlupdatesauth2014_05_02_00_action_ip_logger.sql
*/
ALTER TABLEaccount
ADD COLUMNlast_attempt_ip
VARCHAR(15) NOT NULL DEFAULT ‘127.0.0.1’ AFTERlast_ip
;
[Msg] Finished - Unsuccessfully
Was soll ich jetzt machen? Hoffe mir kann einer Helfen.