title: Database connection for ASP.NET CORE on Linux
body: <p><strong>OS Ubuntu 16.04.</strong></p>
  <p>I have an <strong>ASP.NET Core</strong> application with <strong>SQL Server Express</strong> as database server</p>
  <p>So, I'm trying migrate database:</p>
  <pre><code>dotnet ef migrations add InitialCreate
  </code></pre>
  <p>Command was successful.</p>
  <pre><code>dotnet ef database update
  </code></pre>
  <p>This command returns error:</p>
  <blockquote>
  <p>A network-related or instance-specific error occurred while establishing a connection to SQL Server.</p>
  <p>The server was not found or was not accessible.</p>
  <p>Verify that the instance name is correct and that SQL Server is configured to allow remote connections.</p>
  <p>(provider: SQL Network Interfaces, error: 44 - Could not compose Service Principal Name (SPN) for Windows Integrated Authentication. Possible causes are server(s) incorrectly specified to connection API calls, Domain Name System (DNS) lookup failure or memory shortage)</p>
  </blockquote>
  <p>Connection string:</p>
  <pre><code>Server=(localhost)\\sqlexpress;Database=SOME_DB;User Id=sa;Password=SOME_PASS;Trusted_Connection=true;MultipleActiveResultSets=true;
  </code></pre>
  <p>Since I can connect to db server from Rider I assume that db server is working correctly.</p>