title: No start database manager command was issued error
body: <p>I have a DB2 expresss in my machine and I am able to query from the database using command window (after following two commands):</p>
  
  <pre><code>set DB2INSTANCE=db2inst1
  db2 connect to tims user
  </code></pre>
  
  <p>Now, when I try to connect to the database from a C# console application, I am getting following errors with different connection strings.</p>
  
  <p><strong>Attempt 1</strong></p>
  
  <pre><code> string connectionString = @"Provider = IBMDADB2; Database = TIMS; Hostname = localhost;  CurrentSchema=db2inst1;  ";
  </code></pre>
  
  <blockquote>
    <p>SQL1032N  No start database manager command was issued.  SQLSTATE=57019</p>
  </blockquote>
  
  <p><strong>Attempt 2</strong></p>
  
  <pre><code>string connectionString = @"Provider = IBMDADB2; Database = TIMS;  CurrentSchema=db2inst1;  ";
  </code></pre>
  
  <blockquote>
    <p>SQL1031N  The database directory cannot be found on the indicated file system.  SQLSTATE=58031</p>
  </blockquote>
  
  <p>What should be the correct connection string for this scenario?</p>
  
  <p><strong>CODE</strong></p>
  
  <pre><code>        string connectionString = @"Provider = IBMDADB2; Database = TIMS; Hostname = localhost;  CurrentSchema=db2inst1;  ";
  
          OleDbConnection myConnection = new OleDbConnection();
          myConnection.ConnectionString = connectionString;
          myConnection.Open();
  </code></pre>