I think there is effectively no limit, at least in the libashmysql connector. (If there is a limit, it would be in the mysql connector or database.)
But it must be null terminated. (That would be automatic except for fixed length strings where the physical mapped length was <= its logical length.)