【Mysql To EF】codefirst连接问题提供程序未返回 ProviderManifestToken 字符串

连接字符串写错导致,修改后OK。

原来的:
 <connectionStrings>
    <add name="EFDbContext" connectionString="server=192.161.0.11;Initial Catalog=SportsStore;User ID=sa;Password=global"
  providerName="MySql.Data.MySqlClient "/>


  </connectionStrings>

修改后的:
 <connectionStrings>
    <add name="EFDbContext" connectionString="Data Source=localhost;Initial Catalog=SportsStore;;User ID=XXX;Password=XXX"
  providerName="MySql.Data.MySqlClient "/>

 

posted @ 2014-10-17 11:22  YoMe  阅读(1318)  评论(0编辑  收藏  举报