I was trying to import csv data file using command prompt in MySQL Workbench (mysql Ver 8.0.30 for Win64 on x86_64 (MySQL Community Server - GPL)).
Using following steps:
mysql> load data local infile 'F:/Data Analysis/Data-Analysis-Project/Global_SuperShop_Project/Global_Store.csv'
-> into table global_store
-> fields terminated by ','
-> enclosed by '"'
-> lines terminated by '\n'
-> ignore 1 rows;
ERROR 1300 (HY000): Invalid utf8mb4 character string: 'Paysand'
P.S: I can get rid of this error if i manually replace the value of "Paysandú" with "Paysandu" but then it shows other similar errors in that table column.
How can I convert utf8mb4 to utf-8 so mysql workbench can import the data or is there any way I can convert this in Ms-Excel??