MMO MySql Entity Framework with ASP.NET MVC Video
I have been working through the Auto Updater Videos and on the video "Entity Framework with ASP.NET MVC Video" I get the error "The provider did not return a ProviderManifestToken string." looking further at the error logs tells me "The provider did not return a ProviderManifestToken string. ---> MySql.Data.MySqlClient.MySqlException: Unable to connect to any of the specified MySQL hosts." Im pretty new to MySql, Any ideas on this one?
error on ntext syntax, need help
i know that video series are a bit old but i tried to retake it and now i have a problem on the video that he start adding game setting , the problem is on the sintax of imigration for value : You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ntext,primary key ( `Id`) ) engine=InnoDb auto_increment=0' at line 1
looking around, it looks like newer versions of mysql removed ntext and people are suggesting to use nvarchar(max) will this do harm to the series and how it works or is this the proper way of going for it?
actually these both codes through error for syntax on trying the update-database :
Code:
CreateTable( "dbo.MMOSettings",
c => new
{
Id = c.Int(nullable: false, identity: true),
Key = c.String(nullable: false, maxLength: 128, storeType: "nvarchar"),
Value = c.String(nullable: false, unicode: false, storeType: "ntext"),
})
.PrimaryKey(t => t.Id)
.Index (f => f.Key, unique: true);
Code:
CreateTable( "dbo.MMOSettings",
c => new
{
Id = c.Int(nullable: false, identity: true),
Key = c.String(nullable: false, maxLength: 128, storeType: "nvarchar"),
Value = c.String(nullable: false, unicode: false, storeType: "nvarchar(max)"),
})
.PrimaryKey(t => t.Id)
.Index (f => f.Key, unique: true);
please help :/