SHARE
TWEET

Untitled

a guest Nov 11th, 2012 96 Never
  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)")
RAW Paste Data
Top