Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Nov 11th, 2012  |  syntax: None  |  size: 0.75 KB  |  views: 78  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Traceback (most recent call last):
  2.   File "<console>", line 1, in <module>
  3.   File "/usr/local/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 306, in cursor
  4.     cursor = self.make_debug_cursor(self._cursor())
  5.   File "/usr/local/lib/python2.7/dist-packages/django/db/backends/mysql/base.py", line 387, in _cursor
  6.     self.connection = Database.connect(**kwargs)
  7.   File "/usr/lib/python2.7/dist-packages/MySQLdb/__init__.py", line 81, in Connect
  8.     return Connection(*args, **kwargs)
  9.   File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 187, in __init__
  10.     super(Connection, self).__init__(*args, **kwargs2)
  11. OperationalError: (2002, "Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)")
clone this paste RAW Paste Data