Ok, I was able to manually import the US demo data and I get an error:
ERROR 1067 (42000) at line 35: Invalid default value for 'tran_date'
The table is:
CREATE TABLE `0_attachments` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`description` varchar(60) NOT NULL DEFAULT '',
`type_no` int(11) NOT NULL DEFAULT '0',
`trans_no` int(11) NOT NULL DEFAULT '0',
`unique_name` varchar(60) NOT NULL DEFAULT '',
`tran_date` date NOT NULL DEFAULT '0000-00-00',
`filename` varchar(60) NOT NULL DEFAULT '',
`filesize` int(11) NOT NULL DEFAULT '0',
`filetype` varchar(60) NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
KEY `type_no` (`type_no`,`trans_no`)
) ENGINE=InnoDB;
I am using mysql:8.3.0 (docker image)
Maybe I need to use an older version. The docs did not recommend any specific mySQL version...
Thanks!
ps. I don't think I can use an older mysql due to some clustering that is being done.
I did see that the valid date range is : The supported range is '1000-01-01' to '9999-12-31'.
Will the default value of 1000-01-01 cause any SQL issues?