Traceback (most recent call last):


 "../apps/manage.py", line 28, in <module>

execute_from_command_line(sys.argv)


 "/usr/local/lib/python3.6/site-packages/django/core/management/__init__.py", line 371, in execute_from_command_line

utility.execute()


 "/usr/local/lib/python3.6/site-packages/django/core/management/__init__.py", line 365, in execute

self.fetch_command(subcommand).run_from_argv(self.argv)


 "/usr/local/lib/python3.6/site-packages/django/core/management/base.py", line 288, in run_from_argv

self.execute(*args, **cmd_options)


 "/usr/local/lib/python3.6/site-packages/django/core/management/base.py", line 332, in execute

self.check()


 "/usr/local/lib/python3.6/site-packages/django/core/management/base.py", line 364, in check

include_deployment_checks=include_deployment_checks,


 "/usr/local/lib/python3.6/site-packages/django/core/management/commands/migrate.py", line 57, in _run_checks

issues = run_checks(tags=[Tags.database])


 "/usr/local/lib/python3.6/site-packages/django/core/checks/registry.py", line 73, in run_checks

new_errors = check(app_configs=app_configs)


 "/usr/local/lib/python3.6/site-packages/django/core/checks/database.py", line 10, in check_database_backends

issues.extend(conn.validation.check(**kwargs))


 "/usr/local/lib/python3.6/site-packages/django/db/backends/mysql/validation.py", line 9, in check

issues.extend(self._check_sql_mode(**kwargs))


 "/usr/local/lib/python3.6/site-packages/django/db/backends/mysql/validation.py", line 13, in _check_sql_mode

with self.connection.cursor() as cursor:


 "/usr/local/lib/python3.6/site-packages/django/db/backends/base/base.py", line 255, in cursor

return self._cursor()


 "/usr/local/lib/python3.6/site-packages/django/db/backends/base/base.py", line 232, in _cursor

self.ensure_connection()


 "/usr/local/lib/python3.6/site-packages/django/db/backends/base/base.py", line 216, in ensure_connection

self.connect()


 "/usr/local/lib/python3.6/site-packages/django/db/utils.py", line 89, in __exit__

raise dj_exc_value.with_traceback(traceback) from exc_value


 "/usr/local/lib/python3.6/site-packages/django/db/backends/base/base.py", line 216, in ensure_connection

self.connect()


 "/usr/local/lib/python3.6/site-packages/django/db/backends/base/base.py", line 194, in connect

self.connection = self.get_new_connection(conn_params)


 "/usr/local/lib/python3.6/site-packages/django/db/backends/mysql/base.py", line 236, in get_new_connection

return Database.connect(**conn_params)


 "/usr/local/lib/python3.6/site-packages/MySQLdb/__init__.py", line 86, in Connect

return Connection(*args, **kwargs)


 "/usr/local/lib/python3.6/site-packages/MySQLdb/connections.py", line 204, in __init__

super(Connection, self).__init__(*args, **kwargs2)
django.db.utils.OperationalError: (2003, "Can't connect to MySQL server on '172.23.143.232' (113)")

Traceback (most recent call last):

 "/home/vagrant/zoetis/apps/some_project/manage.py", line 11, in <module>
execute_from_command_line(sys.argv)

 "/home/vagrant/.virtualenvs/some_project/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
utility.execute()

 "/home/vagrant/.virtualenvs/some_project/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 377, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)

 "/home/vagrant/.virtualenvs/some_project/local/lib/python2.7/site-packages/django/core/management/base.py", line 288, in run_from_argv
self.execute(*args, **options.__dict__)

 "/home/vagrant/.virtualenvs/some_project/local/lib/python2.7/site-packages/django/core/management/base.py", line 338, in execute
output = self.handle(*args, **options)

 "/home/vagrant/.virtualenvs/some_project/local/lib/python2.7/site-packages/django/core/management/base.py", line 533, in handle
return self.handle_noargs(**options)

 "/home/vagrant/.virtualenvs/some_project/local/lib/python2.7/site-packages/django/core/management/commands/syncdb.py", line 27, in handle_noargs
call_command("migrate", **options)

 "/home/vagrant/.virtualenvs/some_project/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 115, in call_command
return klass.execute(*args, **defaults)

 "/home/vagrant/.virtualenvs/some_project/local/lib/python2.7/site-packages/django/core/management/base.py", line 338, in execute
output = self.handle(*args, **options)

 "/home/vagrant/.virtualenvs/some_project/local/lib/python2.7/site-packages/django/core/management/commands/migrate.py", line 161, in handle
executor.migrate(targets, plan, fake=options.get("fake", False))

 "/home/vagrant/.virtualenvs/some_project/local/lib/python2.7/site-packages/django/db/migrations/executor.py", line 68, in migrate
self.apply_migration(migration, fake=fake)

 "/home/vagrant/.virtualenvs/some_project/local/lib/python2.7/site-packages/django/db/migrations/executor.py", line 102, in apply_migration
migration.apply(project_state, schema_editor)

 "/home/vagrant/.virtualenvs/some_project/local/lib/python2.7/site-packages/django/db/migrations/migration.py", line 108, in apply
operation.database_forwards(self.app_label, schema_editor, project_state, new_state)

 "/home/vagrant/.virtualenvs/some_project/local/lib/python2.7/site-packages/django/db/migrations/operations/fields.py", line 37, in database_forwards
field,

 "/home/vagrant/.virtualenvs/some_project/local/lib/python2.7/site-packages/django/contrib/gis/db/backends/mysql/schema.py", line 45, in add_field
super(MySQLGISSchemaEditor, self).add_field(model, field)

 "/home/vagrant/.virtualenvs/some_project/local/lib/python2.7/site-packages/django/db/backends/mysql/schema.py", line 42, in add_field
super(DatabaseSchemaEditor, self).add_field(model, field)

 "/home/vagrant/.virtualenvs/some_project/local/lib/python2.7/site-packages/django/db/backends/schema.py", line 380, in add_field
self.execute(sql, params)

 "/home/vagrant/.virtualenvs/some_project/local/lib/python2.7/site-packages/django/db/backends/schema.py", line 103, in execute
cursor.execute(sql, params)

 "/home/vagrant/.virtualenvs/some_project/local/lib/python2.7/site-packages/django/db/backends/utils.py", line 81, in execute
return super(CursorDebugWrapper, self).execute(sql, params)
[698/9157]

 "/home/vagrant/.virtualenvs/some_project/local/lib/python2.7/site-packages/django/db/backends/utils.py", line 65, in execute
return self.cursor.execute(sql, params)

 "/home/vagrant/.virtualenvs/some_project/local/lib/python2.7/site-packages/django/db/utils.py", line 94, in __exit__
six.reraise(dj_exc_type, dj_exc_value, traceback)

 "/home/vagrant/.virtualenvs/some_project/local/lib/python2.7/site-packages/django/db/backends/utils.py", line 65, in execute
return self.cursor.execute(sql, params)

 "/home/vagrant/.virtualenvs/some_project/local/lib/python2.7/site-packages/django/db/backends/mysql/base.py", line 129, in execute
return self.cursor.execute(query, args)

 "/home/vagrant/.virtualenvs/some_project/local/lib/python2.7/site-packages/MySQLdb/cursors.py", line 205, in execute
self.errorhandler(self, exc, value)

 "/home/vagrant/.virtualenvs/some_project/local/lib/python2.7/site-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
raise errorclass, errorvalue
django.db.utils.OperationalError: (1060, "Duplicate column name 'skip_authorization'")
stdout:
Operations to perform:
Synchronize unmigrated apps: corsheaders, gis, rest_framework
Apply all migrations: oauth2_provider, default, user_preferences, admin, sessions, auth, sites, contenttypes
Synchronizing apps without migrations:
Creating tables...
Installing custom SQL...
Installing indexes...
Running migrations:
Applying oauth2_provider.0002_08_updates...```