Jump to content
  • 0
Vuluts

Workbench Compilation Problem

Question

Greetings,

 

Would you mind guys help me with my ERRORS, I'm practicing to create a server but when I'm trying to execute my MAIN.SQL and LOGS.SQL in workbench I'm having this errors.

 

for MAIN.SQL I have this error lines,

 

15:12:21    CREATE TABLE IF NOT EXISTS `charlog` (   `time` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00',   `char_msg` VARCHAR(255) NOT NULL DEFAULT 'char select',   `account_id` INT(11) NOT NULL DEFAULT '0',   `char_id` INT(11) UNSIGNED NOT NULL DEFAULT '0',   `char_num` TINYINT(4) NOT NULL DEFAULT '0',   `name` VARCHAR(23) NOT NULL DEFAULT '',   `str` INT(11) UNSIGNED NOT NULL DEFAULT '0',   `agi` INT(11) UNSIGNED NOT NULL DEFAULT '0',   `vit` INT(11) UNSIGNED NOT NULL DEFAULT '0',   `INT` INT(11) UNSIGNED NOT NULL DEFAULT '0',   `dex` INT(11) UNSIGNED NOT NULL DEFAULT '0',   `luk` INT(11) UNSIGNED NOT NULL DEFAULT '0',   `hair` TINYINT(4) NOT NULL DEFAULT '0',   `hair_color` INT(11) NOT NULL DEFAULT '0' ) ENGINE=MyISAM    Error Code: 1067. Invalid default value for 'time'    0.000 sec
 
and for LOGS.SQL
 
15:16:03    CREATE TABLE IF NOT EXISTS `atcommandlog` (   `atcommand_id` MEDIUMINT(9) UNSIGNED NOT NULL AUTO_INCREMENT,   `atcommand_date` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00',   `account_id` INT(11) UNSIGNED NOT NULL DEFAULT '0',   `char_id` INT(11) UNSIGNED NOT NULL DEFAULT '0',   `char_name` VARCHAR(25) NOT NULL DEFAULT '',   `map` VARCHAR(11) NOT NULL DEFAULT '',   `command` VARCHAR(255) NOT NULL DEFAULT '',   PRIMARY KEY (`atcommand_id`),   INDEX (`account_id`),   INDEX (`char_id`) ) ENGINE=MyISAM AUTO_INCREMENT=1    Error Code: 1067. Invalid default value for 'atcommand_date'    0.016 sec
 

I'm referring with the guide topic posted by Patskie ~ http://herc.ws/board/topic/968-guide-how-to-setup-hercules/

 

Hoping that someone could help me with my errors

 

Thank you so much!

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

@Vuluts Wondering how you fixed this? I'm trying to install a fresh copy of Hercules on my desktop (installed no problem on my laptop ~6 months ago) and I'm getting these exact errors.

Share this post


Link to post
Share on other sites
  • 0

@Vuluts Wondering how you fixed this? I'm trying to install a fresh copy of Hercules on my desktop (installed no problem on my laptop ~6 months ago) and I'm getting these exact errors.

This might help: http://herc.ws/board/topic/12796-need-help-on-sql/?hl=%2Bstrict+%2Bmode#entry74093

Share this post


Link to post
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.   Restore formatting

  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.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.