so I'm trying to import a huge .sql file into my DB with Ansible. I have configured MySQL to run set global default-character-set = utf8mb4
before the DB is created. I've confirmed the DB charset is set to utf8mb4 before importing the data below into it.
Yet i still receive 58229: Incorrect string value: '\\xBA' for column 'ISBN' at row 1\n"}
.
The line in question looks like INSERT INTO
BX-Book-RatingsVALUES (11676,'8475560806º',6);
º
seems to be the issue here. Below is my tbl structure:
CREATE TABLE `BX-Book-Ratings` (
`User-ID` int(11) NOT NULL default '0',
`ISBN` varchar(13) NOT NULL default '',
`Book-Rating` int(11) NOT NULL default '0'
) ENGINE=MyISAM;
Any tips would be much appreciated. Thanks.