I have Asp.Net MVC 5 application using Code First Entity Framework 6 linked to MySQL database.
When I created the database first time, it works fine. But when I make a c
As you see from the first lines of the error,
MySql.Data.MySqlClient.MySqlConnectionStringBuilder.<>c.<.cctor>b__2_7(MySqlConnectionStringBuilder msb, MySqlConnectionStringOption sender) at MySql.Data.MySqlClient.MySqlConnectionStringBuilder.get_Item(String keyword)
the error has to do with the ConnectionString. The problem is the ConnectionString contains keys that can't be read.
Try to clean up the ConnectionString so that it has only
In my case, the ConnectionString had an extra key integrated security. When this was removed Update-Database started working fine. Depending on your case however, this might and might not be the key that caused the error.
So again my proposed and guaranteed solution, go through ConnectionString and simplify it so that it contains only the 4 keys mentioned above.