I want to set date as default value for date in mysql (not timestamp), but the following error appear
ALTER TABLE `RMS`.`transactionentry`
CHANGE `Date` `Date` DATE DEFAULT NOW() NOT NULL
Error
Invalid default value for 'Date'
Same Case
alter table `RMS`.`transactionentry`
change `Date` `Date` date default 'CURRENT_DATE' NOT NULL