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

Untitled

By: a guest on Nov 11th, 2012  |  syntax: None  |  size: 1.67 KB  |  views: 19  |  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. Unhandled exception in thread started by <bound method Command.inner_run of <django.contrib.staticfiles.management.commands.runserver.Command object at 0x9e24c2c>>
  2. Traceback (most recent call last):
  3.   File "/usr/local/lib/python2.7/dist-packages/django/core/management/commands/runserver.py", line 91, in inner_run
  4.     self.validate(display_num_errors=True)
  5.   File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 266, in validate
  6.     num_errors = get_validation_errors(s, app)
  7.   File "/usr/local/lib/python2.7/dist-packages/django/core/management/validation.py", line 103, in get_validation_errors
  8.     connection.validation.validate_field(e, opts, f)
  9.   File "/usr/local/lib/python2.7/dist-packages/django/db/backends/mysql/validation.py", line 14, in validate_field
  10.     db_version = self.connection.get_server_version()
  11.   File "/usr/local/lib/python2.7/dist-packages/django/db/backends/mysql/base.py", line 415, in get_server_version
  12.     self.cursor().close()
  13.   File "/usr/local/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 306, in cursor
  14.     cursor = self.make_debug_cursor(self._cursor())
  15.   File "/usr/local/lib/python2.7/dist-packages/django/db/backends/mysql/base.py", line 387, in _cursor
  16.     self.connection = Database.connect(**kwargs)
  17.   File "/usr/lib/python2.7/dist-packages/MySQLdb/__init__.py", line 81, in Connect
  18.     return Connection(*args, **kwargs)
  19.   File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 187, in __init__
  20.     super(Connection, self).__init__(*args, **kwargs2)
  21. _mysql_exceptions.OperationalError: (2002, "Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)")
clone this paste RAW Paste Data