mysqlimport issues “set @@character_set_database=binary” which prevents loading json values
问题 I have been using mysqlimport without problems for a long time, now as mysql 5.7 added json data type support, I'm trying to use mysqlimport with rows containing json data. Here is an example of a row in csv file that will be imported using mysqlimport: column_A_value,column_B_value,[{"x":20,"y":"some name"}] Notice that the last column type is json. Now when using mysqlimport as the following: mysqlimport -u user -ppass -h localhost --columns='col_A,col_B,col_C' --local --fields-terminated