Why is only 64kB of data being saved in my MySQL data column?
问题 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's mysql_connect() . Any ideas? Does it make a difference if it's Blob or Text. I originally had it as a Text but changed it with no affect. 回答1: Because that's the maximum size of a BLOB column. You need to use MEDIUMBLOB/LONGBLOB or MEDIUMTEXT/LONGTEXT. 回答2: A BLOB type in MySQL can store up to 65,534 bytes, if you