I want to use MySQL with ABP vnext. I spend many hours to find solution but i found nothing. I read documents and google the issue but did not find any solution.
You can use MySQL by using Volo.Abp.EntityFrameworkCore.MySQL package.
Volo.Abp.EntityFrameworkCore.SqlServer
(considering you have
created a default project) nuget package with
Volo.Abp.EntityFrameworkCore.MySQL
.typeof(AbpEntityFrameworkCoreSqlServerModule)
to
typeof(AbpEntityFrameworkCoreMySQLModule)
with also replacing namespaces (using Volo.Abp.EntityFrameworkCore.SqlServer;
to using Volo.Abp.EntityFrameworkCore.MySQL;
)UseSqlServer()
with UseMySql()
in YourProjectNameEntityFrameworkCoreModule.cs file.Here is official docs about switching to MySQL Provider.
You can also check switching to an other dbms docs for other dbms supports.