Skip to content

Commit 27cacd2

Browse files
committed
Add AllowLoadLocalInfile to connection options documentation.
1 parent 3809b91 commit 27cacd2

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

docs/content/connection-options.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
lastmod: 2019-07-13
2+
lastmod: 2019-08-21
33
date: 2016-10-16
44
title: Connection Options
55
customtitle: MySQL Connection String for C#/.NET Programs
@@ -216,6 +216,14 @@ These are the other options that MySqlConnector supports. They are set to sensib
216216
<th style="width: 10%">Default</th>
217217
<th style="width: 70%">Description</th>
218218
</thead>
219+
<tr>
220+
<td>AllowLoadLocalInfile, Allow Load Local Infile</td>
221+
<td>false</td>
222+
<td>Allows the <code>LOAD DATA LOCAL</code> command to request files from the client. This is disabled by
223+
default as a <a href="/troubleshooting/load-data-local-infile/" title="Using Load Data Local Infile">security precaution</a>.
224+
In order to use <code>MySqlBulkLoader</code> and set its <code>Local</code> property to <code>true</code>, you
225+
must set this option to <code>True</code> in your connection string.</td>
226+
</tr>
219227
<tr>
220228
<td>AllowPublicKeyRetrieval, Allow Public Key Retrieval</td>
221229
<td>false</td>

0 commit comments

Comments
 (0)