PHPMYADMIN导出截断MYSQL数据库的文本字段

时间:2015-03-01 18:59:07

标签: php mysql phpmyadmin

在MYSQL表中,有一个Text字段,其中包含以下内容。

- Pedal car with high carbon steel frame in fade resistant powder coat finish- Synthetic rubberized wheels for a smooth, low- noise ride- Safety features include oversized anti- slip pedals, dual rear wheel hand brake and fully enclosed chain guard- 3 position easy adjust high- back racing seat and sporty steering wheel- Coasting shifter</p> - 125102342ETCF4Y

但是当我导出最后几个字正在截断的字段时。请让我知道为什么PHPMYADMIN导出截断这些字符

- Pedal car with high carbon steel frame in fade resistant powder coat finish- Synthetic rubberized wheels for a smooth, low- noise ride- Safety features include oversized anti- slip pedals, dual rear wheel hand brake and fully enclosed chain guard- 3 pos

2 个答案:

答案 0 :(得分:0)

可能是TINYTEXT字段,限制为最多256个字符吗?

参考:

[https://dev.mysql.com/doc/refman/5.0/en/storage-requirements.html][1]

答案 1 :(得分:0)

如果您使用CHAR,VARCHAR或TINYTEXT,则您的字符数限制为255。您可能会想要一个不同的db列类型。

编辑:

我也发现了这个:Why is the PHPMyAdmin import truncating text fields in some of my UPDATEs?

尝试将导入编码从UTF-8更改为ANSI。