Any clues how to fix this without a complete redo?
Thanks?
root@localhost://# cd kb
root@localhost://kb# cd bin
root@localhost://kb/bin# source activate
(kb)root@localhost://kb/bin# kegbot runserver 0.0.0.0:8087
Performing system checks…
System check identified no issues (0 silenced).
Unhandled exception in thread started by <function wrapper at 0x425a9e30>
Traceback (most recent call last):
File “/kb/local/lib/python2.7/site-packages/django/utils/autoreload.py”, line 222, in wrapper
fn(*args, **kwargs)
File “/kb/local/lib/python2.7/site-packages/django/core/management/commands/runserver.py”, line 107, in inner_run
self.check_migrations()
File “/kb/local/lib/python2.7/site-packages/django/core/management/commands/runserver.py”, line 159, in check_migrations
executor = MigrationExecutor(connections[DEFAULT_DB_ALIAS])
File “/kb/local/lib/python2.7/site-packages/django/db/migrations/executor.py”, line 17, in init
self.loader = MigrationLoader(self.connection)
File “/kb/local/lib/python2.7/site-packages/django/db/migrations/loader.py”, line 48, in init
self.build_graph()
File “/kb/local/lib/python2.7/site-packages/django/db/migrations/loader.py”, line 183, in build_graph
self.applied_migrations = recorder.applied_migrations()
File “/kb/local/lib/python2.7/site-packages/django/db/migrations/recorder.py”, line 59, in applied_migrations
self.ensure_schema()
File “/kb/local/lib/python2.7/site-packages/django/db/migrations/recorder.py”, line 49, in ensure_schema
if self.Migration._meta.db_table in self.connection.introspection.get_table_list(self.connection.cursor()):
File “/kb/local/lib/python2.7/site-packages/django/db/backends/init.py”, line 165, in cursor
cursor = self.make_debug_cursor(self._cursor())
File “/kb/local/lib/python2.7/site-packages/django/db/backends/init.py”, line 138, in _cursor
self.ensure_connection()
File “/kb/local/lib/python2.7/site-packages/django/db/backends/init.py”, line 133, in ensure_connection
self.connect()
File “/kb/local/lib/python2.7/site-packages/django/db/utils.py”, line 94, in exit
six.reraise(dj_exc_type, dj_exc_value, traceback)
File “/kb/local/lib/python2.7/site-packages/django/db/backends/init.py”, line 133, in ensure_connection
self.connect()
File “/kb/local/lib/python2.7/site-packages/django/db/backends/init.py”, line 122, in connect
self.connection = self.get_new_connection(conn_params)
File “/kb/local/lib/python2.7/site-packages/django/db/backends/mysql/base.py”, line 472, in get_new_connection
conn = Database.connect(**conn_params)
File “/kb/local/lib/python2.7/site-packages/MySQLdb/init.py”, line 81, in Connect
return Connection(*args, **kwargs)
File “/kb/local/lib/python2.7/site-packages/MySQLdb/connections.py”, line 193, in init
super(Connection, self).init(*args, **kwargs2)
django.db.utils.OperationalError: (2002, “Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (111)”)