2014年12月16日 星期二

[Code First,Entity Framework6,MySql,MariaDB] max key length is 767 bytes


資料庫底層改用MariaDB,之後出現max key length is 767 bytes的錯誤













參考此篇:

http://stackoverflow.com/questions/24981593/specified-key-was-too-long-max-key-length-is-767-bytes-mysql-error-in-entity-fr


另外出現此錯誤













參考此篇:

http://forums.mysql.com/read.php?38,622151,622151


用裡面中的方法2,將下面這句改放在Globa.asax中 Application_Start()

DbConfiguration.SetConfiguration(new MySql.Data.Entity.MySqlEFConfiguration());

即可正常顯示






1 則留言:

  1. These objects include free chips, free cash, and in some circumstances, free spins on the web casino slot machines. You can also in a position to|be capable of|have the flexibility to} get an extra entry into one of the free slots as properly. Although current variations may have extra options, classic slots sometimes include three or five reels and few 우리계열 pay traces. Cards, fruits, bells, the quantity 7, diamonds, and jewels are frequent symbols in classic slot video games. This sort of slot has been redone latest years|in current times|lately} and contains fundamental additional components such as wilds and free spins to draw extra players.

    回覆刪除

熱門文章