Was Sie tun, ist richtig. Schauen Sie sich das folgende Beispiel:
mysql> create table baz (data TEXT);
Query OK, 0 rows affected (0.20 sec)
mysql> insert into baz (data) values ("Four score and seven years ago, our fathers brought forth on this continent a new nation, conceived in liberty and dedicated to the proposition that all men are created equal");
Query OK, 1 row affected (0.06 sec)
mysql> select data from baz\G
*************************** 1. row ***************************
data: Four score and seven years ago, our fathers brought forth on this continent a new nation, conceived in liberty and dedicated to the proposition that all men are created equal
1 row in set (0.00 sec)
Wenn Sie „Daten“ nicht angezeigt wird, dann bedeutet es, das Feld leer oder enthält nur Leerzeichen.
EDIT:
Wenn Sie sehen, „Boxen“, wie Sie in Ihrem Kommentar angeben, dann könnte es ein Zeichencodierung Mismatch sein, oder möglicherweise haben Sie binäre Daten in Ihrem Textfeld ein. Bitte geben Sie die Ausgabe der folgenden Optionen:
SHOW CREATE TABLE foo;
SHOW VARIABLES LIKE 'character_set%';
SHOW VARIABLES LIKE 'collation%';
Bitte aktualisieren Sie Ihre Frage mit den folgenden: SHOW TABLE foo CREATE; SHOW VARIABLES LIKE 'character_set%'; SHOW VARIABLES LIKE 'Kollation%'; – hobodave