Command line connection string for EF core database update

In EF Core 5.0, you will pass the connection string in the command line like this,

dotnet ef database update --connection "connection string"

Reference: https://learn.microsoft.com/en-us/ef/core/what-is-new/ef-core-5.0/whatsnew#new-command-line-parameters-for-namespaces-and-connection-strings

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)