title: UseMySQL extension method not recognized in ASP.NET core
body: <p>Environment: Ubuntu 16.04, .NET Core 1.10 (1.0.0-preview2-1-003177), Visual Studio Code 1.8.1</p>
  
  <p>I have created an ASP.NET MVC Core application by running the following command:</p>
  
  <pre><code>$ dotnet new -t web
  </code></pre>
  
  <p>I am able to load the folder in VSC and debug it.</p>
  
  <p>By default, the engine generates code for Sqlite. I am changing it to use MySQL. My changes are based on the information from the following two articles:</p>
  
  <p><a href="http://insidemysql.com/howto-starting-with-mysql-ef-core-provider-and-connectornet-7-0-4/" rel="noreferrer">http://insidemysql.com/howto-starting-with-mysql-ef-core-provider-and-connectornet-7-0-4/</a>
  <a href="https://damienbod.com/2016/08/26/asp-net-core-1-0-with-mysql-and-entity-framework-core/" rel="noreferrer">https://damienbod.com/2016/08/26/asp-net-core-1-0-with-mysql-and-entity-framework-core/</a></p>
  
  <p>First, I added the following lines into <code>dependencies</code> section of <code>project.json</code>.</p>
  
  <pre><code>"MySql.Data.Core" :"7.0.4-ir-191",
  "MySql.Data.EntityFrameworkCore": "7.0.6-IR31"
  </code></pre>
  
  <p>After running <code>dotnet restore</code>, the required DLLs were downloaded.</p>
  
  <p>The next step was to modify Startup.cs and modify</p>
  
  <pre><code> services.AddDbContext&lt;ApplicationDbContext&gt;(options =&gt;
      options.UseSqlite(Configuration.GetConnectionString("DefaultConnection")));
  </code></pre>
  
  <p>to</p>
  
  <pre><code> services.AddDbContext&lt;ApplicationDbContext&gt;(options =&gt;
      options.UseMySQL(Configuration.GetConnectionString("DefaultConnection")));
  </code></pre>
  
  <p>Essentially, I am replacing <code>UseSqlite</code> by <code>UseMySQL</code>.</p>
  
  <p>However, extension method <code>UseMySQL</code> or <code>UseMySQL</code> do not seem to be available on <code>DbContextOptionsBuilder</code>.</p>
  
  <p>Wondering if I missed some step somewhere. Regards.</p>