Jump to content

Question

Posted (edited)

i have error in my sql 

i add my back up server and i have this error ... HELP ^^

 

[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 '(0) NOT NULL,
  `charName` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_' at line 2
[Err] CREATE TABLE `l2votes`  (
  `votedate` datetime(0) NOT NULL,
  `charName` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '',
  INDEX `votedate_idx`(`votedate`) USING BTREE
) ENGINE = MyISAM CHARACTER SET = latin1 COLLATE = latin1_swedish_ci ROW_FORMAT = Dynamic;
[Msg] Finished - Unsuccessfully
--------------------------------------------------

Edited by DukeAwesome

1 answer to this question

Recommended Posts

  • 0
Posted

Datetime precision is set to 0, drop it.

 

13 hours ago, Bigman said:

`votedate` datetime NOT NULL

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock