ASP.NET Core + Heroku. Database migration
I thought that DATABASE_URL
format is good, but it's not, you need to use Server=myServerAddress;Database=myDataBase;User Id=myUsername;Password=myPassword;
,PLUS in the end I passed two additional parameters: Sslmode=Require;
and Trust Server Certificate=true
.