C:\Users\Serg>docker logs fusion_web_1 Watching for file changes with StatReloader Performing system checks... Exception in thread django-main-thread: Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/mysql/connector/connection_cext.py", line 216, in _open_connection self._cmysql.connect(**cnx_kwargs) _mysql_connector.MySQLInterfaceError: Can't connect to MySQL server on 'db' (111) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner self.run() File "/usr/local/lib/python3.8/threading.py", line 870, in run self._target(*self._args, **self._kwargs) File "/usr/local/lib/python3.8/site-packages/django/utils/autoreload.py", line 54, in wrapper fn(*args, **kwargs) File "/usr/local/lib/python3.8/site-packages/django/core/management/commands/runserver.py", line 117, in inner_run self.check(display_num_errors=True) File "/usr/local/lib/python3.8/site-packages/django/core/management/base.py", line 387, in check all_issues = self._run_checks( File "/usr/local/lib/python3.8/site-packages/django/core/management/base.py", line 377, in _run_checks return checks.run_checks(**kwargs) File "/usr/local/lib/python3.8/site-packages/django/core/checks/registry.py", line 72, in run_checks new_errors = check(app_configs=app_configs) File "/usr/local/lib/python3.8/site-packages/django/core/checks/model_checks.py", line 32, in check_all_models errors.extend(model.check(**kwargs)) File "/usr/local/lib/python3.8/site-packages/django/db/models/base.py", line 1235, in check *cls._check_fields(**kwargs), File "/usr/local/lib/python3.8/site-packages/django/db/models/base.py", line 1314, in _check_fields errors.extend(field.check(**kwargs)) File "/usr/local/lib/python3.8/site-packages/django/db/models/fields/__init__.py", line 918, in check *super().check(**kwargs), File "/usr/local/lib/python3.8/site-packages/django/db/models/fields/__init__.py", line 205, in check *self._check_backend_specific_checks(**kwargs), File "/usr/local/lib/python3.8/site-packages/django/db/models/fields/__init__.py", line 326, in _check_backend_specific_checks return connections[db].validation.check_field(self, **kwargs) File "/usr/local/lib/python3.8/site-packages/mysql/connector/django/validation.py", line 22, in check_field field_type = field.db_type(connection) File "/usr/local/lib/python3.8/site-packages/django/db/models/fields/__init__.py", line 671, in db_type return connection.data_types[self.get_internal_type()] % data File "/usr/local/lib/python3.8/site-packages/django/db/__init__.py", line 28, in __getattr__ return getattr(connections[DEFAULT_DB_ALIAS], item) File "/usr/local/lib/python3.8/site-packages/django/utils/functional.py", line 80, in __get__ res = instance.__dict__[self.name] = self.func(instance) File "/usr/local/lib/python3.8/site-packages/mysql/connector/django/base.py", line 280, in data_types if self.features.supports_microsecond_precision: File "/usr/local/lib/python3.8/site-packages/django/utils/functional.py", line 80, in __get__ res = instance.__dict__[self.name] = self.func(instance) File "/usr/local/lib/python3.8/site-packages/mysql/connector/django/features.py", line 48, in supports_microsecond_precision if self.connection.mysql_version >= (5, 6, 3): File "/usr/local/lib/python3.8/site-packages/django/utils/functional.py", line 80, in __get__ res = instance.__dict__[self.name] = self.func(instance) File "/usr/local/lib/python3.8/site-packages/mysql/connector/django/base.py", line 538, in mysql_version temp_conn = mysql.connector.connect(**config) File "/usr/local/lib/python3.8/site-packages/mysql/connector/__init__.py", line 264, in connect return CMySQLConnection(*args, **kwargs) File "/usr/local/lib/python3.8/site-packages/mysql/connector/connection_cext.py", line 80, in __init__ self.connect(**kwargs) File "/usr/local/lib/python3.8/site-packages/mysql/connector/abstracts.py", line 960, in connect self._open_connection() File "/usr/local/lib/python3.8/site-packages/mysql/connector/connection_cext.py", line 218, in _open_connection raise errors.get_mysql_exception(msg=exc.msg, errno=exc.errno, mysql.connector.errors.DatabaseError: 2003 (HY000): Can't connect to MySQL server on 'db' (111)