FK indentifier is too long
Posted by: Karl Developer
Date: September 12, 2014 04:54AM

Hi, I am running EF6.1.1 and MySQL connect 6.9.3

when running update-database for a code first project I get the following error. Is there a way to force identifiers to be shorter? A setting? Any other suggestions?

MySql.Data.MySqlClient.MySqlException (0x80004005): Identifier name 'FK_LoggerProgram_LoggerProgramBlob_LoggerProgramBlob_LoggerProgramBlobID' is too long
at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)
at MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32& affectedRows, Int64& insertedId)
at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)
at MySql.Data.MySqlClient.MySqlDataReader.NextResult()

Thanks,

Karl

Options: ReplyQuote


Subject
Written By
Posted
FK indentifier is too long
September 12, 2014 04:54AM
September 12, 2014 04:56AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.