title: EF Core MySQL Database First?
body: <p>I have a MySQL database sitting in Amazon Cloud (RDS). It is a tiny database with only one table.</p>
  
  <p>I want to use EF Core, Database First. I know that the <code>Pomelo.EntityFrameworkCore.MySql</code> package is popular, but I cannot see any information on how to achieve a scaffolding of the Db Context via that package.</p>
  
  <p>I followed the <a href="https://dev.mysql.com/doc/connector-net/en/connector-net-entityframework-core-scaffold-example.html#connector-net-entityframework-core-scaffold-packagemgr" rel="nofollow noreferrer">instructions</a> here whilst replacing <code>MySql.Data.EntityFrameworkCore.Design</code> with <code>Pomelo.EntityFrameworkCore.MySql</code> but when I ran the command below in Package Manager Console:</p>
  
  <pre><code>Scaffold-DbContext "Server=my-db.rds.amazonaws.com;database=TestDb;uid=blah;pwd=blah;" Pomelo.EntityFrameworkCore.MySql -OutputDir Models -f
  </code></pre>
  
  <p>I just got the error:</p>
  
  <blockquote>
    <p>The specified framework version '2.0' could not be parsed</p>
  </blockquote>
  
  <p>What am I missing? Here's how my dummy solution looks</p>
  
  <p><img src="https://content.screencast.com/users/JKhalaf/folders/Snagit/media/122828fc-f88c-4e7c-83dc-4e93286b5569/03.27.2018-09.38.png" alt="screenshot of solution"></p>