Application in ASP.NET Core 2.0 with Identity using a MySQL Database.
To make this works you need to install
- Pomelo.EntityFrameworkCore.MySql - Plugin to allow Identity use a MySQL Database
After install Pomelo, enable Identity to use MySQL in the method ConfigureServices of your class Startup.cs.
public void ConfigureServices(IServiceCollection services)
{
services.AddDbContext<ApplicationDbContext>(options =>
options.UseMySql(Configuration.GetConnectionString("IdentityConnection")));
(... another stuff)
}