More DB sync changes

Added LOCAL to SQL for db sync of INFILEs