Why is only 64kB of data being saved in my MySQL data column?

后端 未结 4 1893
被撕碎了的回忆
被撕碎了的回忆 2021-02-07 22:41

I am trying to insert a very long text string into a MySQL Blob column, but MySQL is only saving 64kB of the data. The string is 75360 characters long. I am connecting with PHP\

4条回答
  •  清歌不尽
    2021-02-07 23:05

    Because that's the maximum size of a BLOB column. You need to use MEDIUMBLOB/LONGBLOB or MEDIUMTEXT/LONGTEXT.

提交回复
热议问题