MySQL Forums
Forum List  »  Newbie

Re: NOT NULL default '',
Posted by: Rick James
Date: March 30, 2016 07:37PM

The problem is with a change to TIMESTAMP.

In old versions, TIMESTAMP(14) meant one thing. Now TIMESTAMP(6) (or less than 6) indicates the number of decimal places. In particular (14) is too big.

You apparently got the CREATE from some old server? (But not so old that it said TYPE= instead of ENGINE=.)

Remove (14) and see if there are further errors.

Options: ReplyQuote


Subject
Written By
Posted
March 30, 2016 09:04AM
March 30, 2016 09:32AM
Re: NOT NULL default '',
March 30, 2016 07:37PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.