Hi We are using mysql 5.0.42 and are getting this error when trying to insert records of over 5M. We have set max_allowed_packet as per the advice on http://dev.mysql.com/doc/refman/4.1/en/packet-too-large.html to be 1G but to no avail althought this did allow the direct sql to suceed. Does django ignore the max_allowed_packet setting in my.cnf? if so how can it be increased?
File "/home/accountis/dhl.be/eipp/branches/release_2.1/AccountisHub/ AccountisHubApp/models.py", line 972, in insertDocument a.save() File "/home/accountis/nhs/python/lib/python2.4/site-packages/ Django-0.95-py2.4.egg/django/db/models/base.py", line 203, in save File "/home/accountis/nhs/python/lib/python2.4/site-packages/ Django-0.95-py2.4.egg/django/db/backends/util.py", line 12, in execute File "/home/accountis/nhs/python/lib/python2.4/site-packages/ Django-0.95-py2.4.egg/django/db/backends/mysql/base.py", line 35, in execute File "/home/accountis/dhl.be/python/lib/python2.4/site-packages/ MySQLdb/cursors.py", line 163, in execute self.errorhandler(self, exc, value) File "/home/accountis/dhl.be/python/lib/python2.4/site-packages/ MySQLdb/connections.py", line 35, in defaulterrorhandler raise errorclass, errorvalue OperationalError: (2020, "Got packet bigger than 'max_allowed_packet'") --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---