Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/291.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
PHPMYADMIN导出截断MYSQL数据库的文本字段_Php_Mysql_Phpmyadmin - Fatal编程技术网

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

PHPMYADMIN导出截断MYSQL数据库的文本字段,php,mysql,phpmyadmin,Php,Mysql,Phpmyadmin,在MYSQL表中,有一个文本字段,其中包含以下内容 - 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 fu

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

- 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

这可能是TINYTEXT字段,最多256个字符

参考:

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

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

编辑:

我还发现:


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

什么类型的导出?在PMA中有多种导出方式。phpmyadmin中存在导出选项。我注意到,当我导出文本字段时,仅导出255个字符。我将作为字符集导出为UTF-8。请参见下面的答案。db列数据类型是什么?声明为text的字段实际上限制为255,而不是256。