Home » Liferay Portal » English » Liferay Legacy

Combination View Flat View Tree View
Threads [ Previous | Next ]
Borut Bolčina
Data too long for column 'content'
December 19, 2006 12:01 PM

Borut Bolčina

Rank: New Member

Posts: 1

Join Date: December 19, 2006

Recent Posts


Step 10b of (I came here from Updated Installation Guide View Online)

gives me

mysql -u root -p < create-mysql.sql
Enter password: *****
ERROR 1406 (22001) at line 1552: Data too long for column 'content' at row 1

Database and 80+ tables got created. There must be error in script

Mika Koivisto
RE: Data too long for column 'content'
December 20, 2006 2:29 AM

Mika Koivisto


Rank: Liferay Legend

Posts: 1513

Join Date: August 7, 2006

Recent Posts

MySQL client doesn't know how to handle long SQLs when done that way. I think it actually aborts running the SQL when it encounters an error. You can run that sql script by login into your database with the client and then use
1\. create-mysql.sql

It'll still ommit the too long data but atleast all the tables will get created.