ABP(3.x)切换为MySQL

  1. 在EntityFrameworkCore项目下移除包Microsoft.EntityFrameworkCore.SqlServer
  2. 在EntityFrameworkCore项目下添加包Pomelo.EntityFrameworkCore.MySql v3.2.4
  3. 修改xxxDbContextConfigurer中的
  4. 删除EntityFraweorkCore下面的迁移文件夹
  5. EntityFraweorkCore和WebHost的appsettings.json

     
  6. 添加数据迁移VS菜单:Tools -> NuGet Package Manager -> Package Manager Console运行以下命令:

     
  7. Update-Database
  8. Remove-Migration

 

from:https://blog.csdn.net/qq_40353040/article/details/108770993