Hi,

I've got a typical blogging app written with the SVN-trunk version of
Django running on MYSQL. I'm importing entries from an old MSSQL
database using DBI. When I create Entry objects and call Entry.save()
an exception is thrown for about 7 out of the 250 odd entries that I'm
importing:

Exception arguments:
(1406, "Data too long for column 'entry' at row 1")

I've checked the DB schema and Django created the TextField as a
LONGTEXT which should be capable of holding upto 4GB of content.

I've also increased the "max_allowed_packet=32M" for the MYSQL
instance. Each entry has less than a 1k of content for the 'entry'
column.

Any ideas what may be causing this problem ? Could it be charset
encoding issues for the 7 entries that somehow MYSQL is rejecting ?

Many thanks,
Ijonas.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to