EF6使用MySQL数据库时,第一次建立数据库出现“Specified key was too long; max key length is 767 bytes”错误,解决办法请见如下链接。mysql
http://stackoverflow.com/questions/20832546/entity-framework-with-mysql-and-migrations-failing-because-max-key-length-is-76sql