FAQ
Switch DB from MSSQL to MYSQL
Step 1: Add (Pomelo.EntityFrameworkCore.MySql) dependency using Nuget Manager in NETAdminLTEWeb & NETAdminLTEApi
Note: Choose version 6.x
Step 2: In the appsettings.json of NETAdminLTEWeb & NETAdminApi project add this in connection string.
Note: Replace the value with your own
Step 3: In the NETAdminLTEWeb & NETAdminLTEApi project go-to Extensions -> ServiceExtensions.cs file and add this below code.
Step 4: Finally in the Program.cs file (in both projects) just comment out the ConfigureMSSqlContext and add this line.
Last updated