0
rafalpiotrowski created
Hi, Is this possible to use MS SQL Server for main "Default" db and another db like MySQL for Hangfire?
Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)
2 Answer(s)
-
0
Yes we can!
need to installnuget package Hangfire.MySqlStorage in AspNetZeroProject.Web.Core
and in AspNetZeroProject.Web.Host Startup.cs file add this
services.AddHangfire(config => { new MySqlStorage(_appConfiguration.GetConnectionString("Hangfire_MySQL")); }); JobStorage.Current = new MySqlStorage(_appConfiguration.GetConnectionString("Hangfire_MySQL"));Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
its closed
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)