add "local-infile" option via mysql_options MYSQL_OPT_LOCAL_INFILE

local_infile needs to be passed in when calling connect