Table of Contents

Property AllowLoadLocalInfile

Namespace
YndigoBlue.Velocity.Data.MySql
Assembly
YndigoBlue.Velocity.dll

AllowLoadLocalInfile

Gets or sets whether to allow LOAD DATA LOCAL INFILE statements for bulk data loading.

public bool AllowLoadLocalInfile { get; set; }

Property Value

bool

Remarks

This setting enables MySQL's efficient LOAD DATA LOCAL INFILE statement, which is used during bulk import operations. When enabled, large CSV imports can use this fast, native MySQL bulk loading mechanism.

warning

This setting MUST be set to true for import operations to work. If disabled, all Import() calls will fail. The default value of true is correct for virtually all scenarios. Only disable if explicitly required by your MySQL security policy, but understand that disabling it makes data imports impossible in Velocity.