Question
Why does my database fail to import with a similar error?
ERROR 1067 (42000) at line 1358: Invalid default value for 'update_date'
Answer
The field's default value is incompatible with the data type in the newer version of MySQL.
Within the database,VARCHAR
will need to be changed toTIMESTAMP
or DATETIME
within the database.
Comments
0 comments
Article is closed for comments.