mysql - Invalid default value for 'date' field -
i took @ possibly dupicated article, still did not find result looking for. answer question explained how things work, did not provide how solve problem. there solution mysql bench, working terminal on mac ox.
birthday date not null default '0000-00-00'
returns: error 1067 (42000): invalid default value 'birthday'.
how fix problem? can provide full syntax? working terminal on mac ox.
your appreciated!
according mysql documentation (http://dev.mysql.com/doc/refman/5.7/en/datetime.html) supported range '1000-01-01' '9999-12-31'
Comments
Post a Comment