Unable to cast object of type ‘System.Int16’ to my Enum variable [duplicate]

I’m tryng to convert a numeric type on my mysql database (smallint(6)) and I’m getting the following error:
Unable to cast object of type ‘System.Int16’ to type ‘MyEnum’.
My Enum is:
public enum MyEnum
{
Value1 = 1,
Value2 = 2,