Mysql byte array storage

user1379574 picture user1379574 · Jul 3, 2012 · Viewed 39.3k times · Source

I have a byte array created in Java. It represents content of some file. I don't know exactly the maximum size of this array. It can be different sizes. I want to store it in mysql. What type should I use in mysql?