Untitled
raw download clone
TEXT
views 36
,
size 8886 b
PS C:\work\startupafisha> docker-compose up
Pulling mysql (mysql/mysql-server:5.7.22)...
5.7.22: Pulling from mysql/mysql-server
b0efbbec3b2e: Pull complete
5053dccc7425: Pull complete
16b4ec95c155: Pull complete
8b211b61b1a0: Pull complete
Recreating startupafisha_mysql_1 ... done
Recreating startupafisha_django_1 ... done
Attaching to startupafisha_mysql_1, startupafisha_django_1
mysql_1   | [Entrypoint] MySQL Docker Image 5.7.22-1.1.5
mysql_1   | [Entrypoint] No password option specified for new database.
mysql_1   | [Entrypoint]   A random onetime password will be generated.
mysql_1   | [Entrypoint] Initializing database
mysql_1   | [Entrypoint] Database initialized
mysql_1   | Warning: Unable to load '/usr/share/zoneinfo/iso3166.tab' as time zone. Skipping it.
mysql_1   | Warning: Unable to load '/usr/share/zoneinfo/leapseconds' as time zone. Skipping it.
mysql_1   | Warning: Unable to load '/usr/share/zoneinfo/tzdata.zi' as time zone. Skipping it.
mysql_1   | Warning: Unable to load '/usr/share/zoneinfo/zone.tab' as time zone. Skipping it.
mysql_1   | Warning: Unable to load '/usr/share/zoneinfo/zone1970.tab' as time zone. Skipping it.
mysql_1   | [Entrypoint] GENERATED ROOT PASSWORD: omqAcaM#upahYfVEKV4v!@gotoR
mysql_1   |
mysql_1   | [Entrypoint] ignoring /docker-entrypoint-initdb.d/auto.cnf
mysql_1   |
mysql_1   | [Entrypoint] ignoring /docker-entrypoint-initdb.d/ca-key.pem
mysql_1   |
mysql_1   | [Entrypoint] ignoring /docker-entrypoint-initdb.d/ca.pem
mysql_1   |
mysql_1   | [Entrypoint] ignoring /docker-entrypoint-initdb.d/client-cert.pem
mysql_1   |
mysql_1   | [Entrypoint] ignoring /docker-entrypoint-initdb.d/client-key.pem
mysql_1   |
mysql_1   | [Entrypoint] ignoring /docker-entrypoint-initdb.d/ib_buffer_pool
mysql_1   |
mysql_1   | [Entrypoint] ignoring /docker-entrypoint-initdb.d/ib_logfile0
mysql_1   |
mysql_1   | [Entrypoint] ignoring /docker-entrypoint-initdb.d/ib_logfile1
mysql_1   |
mysql_1   | [Entrypoint] ignoring /docker-entrypoint-initdb.d/ibdata1
mysql_1   |
mysql_1   | [Entrypoint] ignoring /docker-entrypoint-initdb.d/ibtmp1
mysql_1   |
mysql_1   | [Entrypoint] ignoring /docker-entrypoint-initdb.d/mysql
mysql_1   |
mysql_1   | [Entrypoint] ignoring /docker-entrypoint-initdb.d/performance_schema
mysql_1   |
mysql_1   | [Entrypoint] ignoring /docker-entrypoint-initdb.d/private_key.pem
mysql_1   |
mysql_1   | [Entrypoint] ignoring /docker-entrypoint-initdb.d/public_key.pem
mysql_1   |
mysql_1   | [Entrypoint] ignoring /docker-entrypoint-initdb.d/rb_ru
mysql_1   |
mysql_1   | [Entrypoint] running /docker-entrypoint-initdb.d/schema.sql
django_1  | Performing system checks...
django_1  |
django_1  | Unhandled exception in thread started by <function wrapper at 0x7f98506176e0>
django_1  | Traceback (most recent call last):
django_1  |   File "/usr/local/lib/python2.7/site-packages/django/utils/autoreload.py", line 228, in wrapper
django_1  |     fn(*args, **kwargs)
django_1  |   File "/usr/local/lib/python2.7/site-packages/django/core/management/commands/runserver.py", line 124, in inner_run
django_1  |     self.check(display_num_errors=True)
django_1  |   File "/usr/local/lib/python2.7/site-packages/django/core/management/base.py", line 359, in check
django_1  |     include_deployment_checks=include_deployment_checks,
django_1  |   File "/usr/local/lib/python2.7/site-packages/django/core/management/base.py", line 346, in _run_checks
django_1  |     return checks.run_checks(**kwargs)
django_1  |   File "/usr/local/lib/python2.7/site-packages/django/core/checks/registry.py", line 81, in run_checks
django_1  |     new_errors = check(app_configs=app_configs)
django_1  |   File "/usr/local/lib/python2.7/site-packages/django/core/checks/model_checks.py", line 30, in check_all_models
django_1  |     errors.extend(model.check(**kwargs))
django_1  |   File "/usr/local/lib/python2.7/site-packages/django/db/models/base.py", line 1284, in check
django_1  |     errors.extend(cls._check_fields(**kwargs))
django_1  |   File "/usr/local/lib/python2.7/site-packages/django/db/models/base.py", line 1359, in _check_fields
django_1  |     errors.extend(field.check(**kwargs))
django_1  |   File "/usr/local/lib/python2.7/site-packages/django/db/models/fields/__init__.py", line 913, in check
django_1  |     errors = super(AutoField, self).check(**kwargs)
django_1  |   File "/usr/local/lib/python2.7/site-packages/django/db/models/fields/__init__.py", line 219, in check
django_1  |     errors.extend(self._check_backend_specific_checks(**kwargs))
django_1  |   File "/usr/local/lib/python2.7/site-packages/django/db/models/fields/__init__.py", line 322, in _check_backend_specific_checks
django_1  |     return connections[db].validation.check_field(self, **kwargs)
django_1  |   File "/usr/local/lib/python2.7/site-packages/django/db/backends/mysql/validation.py", line 49, in check_field
django_1  |     field_type = field.db_type(self.connection)
django_1  |   File "/usr/local/lib/python2.7/site-packages/django/db/models/fields/__init__.py", line 644, in db_type
django_1  |     return connection.data_types[self.get_internal_type()] % data
django_1  |   File "/usr/local/lib/python2.7/site-packages/django/utils/functional.py", line 35, in __get__
django_1  |     res = instance.__dict__[self.name] = self.func(instance)
django_1  |   File "/usr/local/lib/python2.7/site-packages/django/db/backends/mysql/base.py", line 174, in data_types
django_1  |     if self.features.supports_microsecond_precision:
django_1  |   File "/usr/local/lib/python2.7/site-packages/django/utils/functional.py", line 35, in __get__
django_1  |     res = instance.__dict__[self.name] = self.func(instance)
django_1  |   File "/usr/local/lib/python2.7/site-packages/django/db/backends/mysql/features.py", line 53, in supports_microsecond_precision
django_1  |     return self.connection.mysql_version >= (5, 6, 4) and Database.version_info >= (1, 2, 5)
django_1  |   File "/usr/local/lib/python2.7/site-packages/django/utils/functional.py", line 35, in __get__
django_1  |     res = instance.__dict__[self.name] = self.func(instance)
django_1  |   File "/usr/local/lib/python2.7/site-packages/django/db/backends/mysql/base.py", line 385, in mysql_version
django_1  |     with self.temporary_connection() as cursor:
django_1  |   File "/usr/local/lib/python2.7/contextlib.py", line 17, in __enter__
django_1  |     return self.gen.next()
django_1  |   File "/usr/local/lib/python2.7/site-packages/django/db/backends/base/base.py", line 591, in temporary_connection
django_1  |     cursor = self.cursor()
django_1  |   File "/usr/local/lib/python2.7/site-packages/django/db/backends/base/base.py", line 254, in cursor
django_1  |     return self._cursor()
django_1  |   File "/usr/local/lib/python2.7/site-packages/django/db/backends/base/base.py", line 229, in _cursor
django_1  |     self.ensure_connection()
django_1  |   File "/usr/local/lib/python2.7/site-packages/django/db/backends/base/base.py", line 213, in ensure_connection
django_1  |     self.connect()
django_1  |   File "/usr/local/lib/python2.7/site-packages/django/db/utils.py", line 94, in __exit__
django_1  |     six.reraise(dj_exc_type, dj_exc_value, traceback)
django_1  |   File "/usr/local/lib/python2.7/site-packages/django/db/backends/base/base.py", line 213, in ensure_connection
django_1  |     self.connect()
django_1  |   File "/usr/local/lib/python2.7/site-packages/django/db/backends/base/base.py", line 189, in connect
django_1  |     self.connection = self.get_new_connection(conn_params)
django_1  |   File "/usr/local/lib/python2.7/site-packages/django/db/backends/mysql/base.py", line 274, in get_new_connection
django_1  |     conn = Database.connect(**conn_params)
django_1  |   File "/usr/local/lib/python2.7/site-packages/MySQLdb/__init__.py", line 81, in Connect
django_1  |     return Connection(*args, **kwargs)
django_1  |   File "/usr/local/lib/python2.7/site-packages/MySQLdb/connections.py", line 193, in __init__
django_1  |     super(Connection, self).__init__(*args, **kwargs2)
django_1  | django.db.utils.OperationalError: (2003, 'Can\'t connect to MySQL server on \'mydb\' (111 "Connection refused")')
mysql_1   |
mysql_1   |
mysql_1   | [Entrypoint] ignoring /docker-entrypoint-initdb.d/server-cert.pem
mysql_1   |
mysql_1   | [Entrypoint] ignoring /docker-entrypoint-initdb.d/server-key.pem
mysql_1   |
mysql_1   | [Entrypoint] ignoring /docker-entrypoint-initdb.d/sys
mysql_1   |
mysql_1   | [Entrypoint] Server shut down
mysql_1   | [Entrypoint] Setting root user as expired. Password will need to be changed before database can be used.
mysql_1   |
mysql_1   | [Entrypoint] MySQL init process done. Ready for start up.
mysql_1   |
mysql_1   | [Entrypoint] Starting MySQL 5.7.22-1.1.5
close fullscreen
Login or Register to edit or fork this paste. It's free.