title: How to load csv file from s3 bucket using C# and MySql?
body: <p>I want to load CSV file to MySql database table using a file from s3 bucket. I am able to load the file from the local drive using the following code</p>
  <pre><code>                using (MySqlConnection myConn = new MySqlConnection(&quot;Server = localhost; Database = aaaa; Uid = bbbb; Pwd = ccc&quot;))
                  {
  
                  MySqlBulkLoader loader = new MySqlBulkLoader(myConn);
                  loader.TableName = &quot;mytable&quot;;
                  loader.FieldTerminator = &quot;|&quot;;
                  loader.LineTerminator = &quot;\n&quot;;
                  loader.NumberOfLinesToSkip = 2;
                  loader.FileName = &quot;c:\file1.csv&quot;;
  
                  myConn.Open();
                  int insertCount = bulkLoader.Load();
                  myConn.Close();
  
              }
  </code></pre>
  <p>Can you pleas provide some example to load the csv file from s3 bucket? Thank you.</p>