I am attempting to load a text file into a MySQL table. The error I receive is:
HY000 1148 [MySQL][ODBC 8.0(w) Driver][mysqld-5.6.39]The used command i
This issue turned out to be an ODBC connector issue.
The version of the MySQL ODBC connector I was using was 8.0.11 which overrides the local-infile parameter and sets it to zero. In this version of the connector, the parameter was not editable (to my knowledge).
As of version 8.0.14, the user can add the following line to the odbc.ini file:
ENABLE_LOCAL_INFILE=1
https://dev.mysql.com/doc/connector-odbc/en/connector-odbc-configuration-connection-parameters.html
After upgrading to the new connector and updating odbc.ini, LOAD DATA LOCAL INFILE
is successful when connecting via ODBC.