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?
Use varbinary
to store byte arrays of arbitrary length in MySQL.
di3
来源:https://stackoverflow.com/questions/11309040/mysql-byte-array-storage