I am attempting to export Excel data into MySQL 8.0 using 'MySQL for Excel' in Excel with datatype VarChar(255).
The longest of my strings is 40 characters, yet I keep on getting the error message:
MySQL Error 1406: Data too long for column 'Column' at row 150
I switched the MySQL mode to not strict in the my.ini
file using these instructions, but it didn't resolve the issue.
When I increase the VarChar length to 800, I receive the error message:
MySQL Error 1071: Specified key was too long; max key length is 3072 bytes
Anything lower than VarChar(800)
gives me the first error message.
Any ideas how to successfully export the data into MySQL?