Importing CSV file, I have tried switching SQL mode to not use STRICT. Also tried '1', 1, true and b'1' values with no success. Always 1406 error. What should I change?
Table definition:
CREATE TABLE TB1
(
ID INT UNSIGNED AUTO_INCREMENT NOT NULL,
NAME VARCHAR(255) NOT NULL,
ENABLED BIT(1) NOT NULL,
CONSTRAINT PK_FEATURES PRIMARY KEY (ID)
) ENGINE = InnoDB;
Enabled is the field I have issue with
I am using import withard icon when you put mouse pointer over table name, and then "import records from external file"
CSV file:
ID;NAME;ENABLED
244;Test;b'1'