Hi Ijonas, ijonas wrote: > 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") > .. > > Any ideas what may be causing this problem ? Could it be charset > encoding issues for the 7 entries that somehow MYSQL is rejecting ?
Could be. - Exact MySQL version? - which encodings are you using? - SHOW CREATE TABLE yourtablename\G - What is default charset on server? SHOW GLOBAL VARIABLES LIKE 'char%'; -- Geert Vanderkelen http://www.some-abstract-type-shit.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---