Brian Dunning's Error Code Reference

MySQL Error 1170

SQLSTATE: 42000 (ER_BLOB_KEY_WITHOUT_LENGTH) BLOB/TEXT column '%s' used in key specification without a key length

 

Comments

dondon   dondon
Jan 31, 2007
i wanted to set a TINYTEXT column as INDEX or PRIMARY KEY, but this error occured