I have:
- MVC 3
- MySQL using .NET Connector 6.4.4
Everything is ok if i connect from local PC with VS2010 to remote DB on Linux. I made a backup to have DB locally and install the same version of MySQL (5.5, x64)
On remote i have normal .net autogenerated table names for membership, like my_aspnet_membership
, but when i start applicantion locally it create other table names, like mysql_membership
. Also i got the exception: Unable to initialize provider. Missing or incorrect schema.
With same settings, but with connection to Remote DB everything works fine.
<add name="MySqlSessionStateProvider" type="MySql.Web.SessionState.MySqlSessionStateStore, MySql.Web, Version=6.4.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" applicationName="/" autogenerateschema="true" connectionStringName="MySqlMembershipConnection" />
Does anybody know where is the problem?