title: OperationalError: (2001, "Can't create UNIX socket (24)")
body: <p>I am using django-1.2 and python-2.6 and I am using mysql server.</p>
  
  <p>After working for a while - selecting and updating records, I got this error:</p>
  
  <pre><code>Exception in thread Thread-269:
  Traceback (most recent call last):
    File "/usr/lib64/python2.6/threading.py", line 532, in __bootstrap_inner
    File "dispatcher.py", line 42, in run
    File "/usr/lib/python2.6/site-packages/django/db/models/query.py", line 80, in __len__  
    File "/usr/lib/python2.6/site-packages/django/db/models/query.py", line 271, in iterator  
    File "/usr/lib/python2.6/site-packages/django/db/models/sql/compiler.py", line 677, in results_iter  
    File "/usr/lib/python2.6/site-packages/django/db/models/sql/compiler.py", line 731, in execute_sql  
    File "/usr/lib/python2.6/site-packages/django/db/backends/__init__.py", line 75, in cursor  
    File "/usr/lib/python2.6/site-packages/django/db/backends/mysql/base.py", line 297, in _cursor  
    File "/usr/lib64/python2.6/site-packages/MySQLdb/__init__.py", line 81, in Connect  
    File "/usr/lib64/python2.6/site-packages/MySQLdb/connections.py", line 187, in __init__  
  OperationalError: (2001, "Can't create UNIX socket (24)")
  </code></pre>
  
  <p>here are lines 41,42 of my <code>dispatcher.py</code>:</p>
  
  <pre><code>dataList = Mydata.objects.filter(date__isnull=True)[:chunkSize]
  print '%s - DB worker finished reading %s entrys' % (datetime.now(),len(dataList))
  </code></pre>
  
  <p>Any clue why I get this error?<br>
  I tried googling but could not find an answer.</p>
  
  <p>I am connecting to the db using django - (I am using localhost)</p>