Запуск Mysql для Отри
Привет всем, я пытаюсь настроить Mysql для Otree в моем файле settings.py, но у меня есть эта ошибка, ¿Кто-то может объяснить мне, что происходит, или что плохо?
File "c:\users\diese\appdata\local\programs\python\python36\lib\site-packages\otree\management\commands\runserver.py", line 45, in handle
self.check(display_num_errors=True)
File "c:\users\diese\appdata\local\programs\python\python36\lib\site-packages\django\core\management\base.py", line 359, in check
include_deployment_checks=include_deployment_checks,
File "c:\users\diese\appdata\local\programs\python\python36\lib\site-packages\django\core\management\base.py", line 346, in _run_checks
return checks.run_checks(**kwargs)
File "c:\users\diese\appdata\local\programs\python\python36\lib\site-packages\django\db\models\base.py", line 1282, in check
errors.extend(cls._check_fields(**kwargs))
File "c:\users\diese\appdata\local\programs\python\python36\lib\site-packages\django\db\models\base.py", line 1357, in _check_fields
errors.extend(field.check(**kwargs)
File "c:\users\diese\appdata\local\programs\python\python36\lib\site-packages\django\db\backends\mysql\validation.py", line 49, in check_field
field_type = field.db_type(self.connection)
File "c:\users\diese\appdata\local\programs\python\python36\lib\site-packages\django\db\models\fields\__init__.py", line 644, in db_type
return connection.data_types[self.get_internal_type()] % data
File "c:\users\diese\appdata\local\programs\python\python36\lib\site-packages\django\utils\functional.py", line 35, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "c:\users\diese\appdata\local\programs\python\python36\lib\site-packages\django\db\backends\mysql\base.py", line 174, in data_types
if self.features.supports_microsecond_precision:
File "c:\users\diese\appdata\local\programs\python\python36\lib\site-packages\django\utils\functional.py", line 35, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "c:\users\diese\appdata\local\programs\python\python36\lib\site-packages\django\utils\functional.py", line 35, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "c:\users\diese\appdata\local\programs\python\python36\lib\site-packages\django\db\backends\mysql\base.py", line 385, in mysql_version
with self.temporary_connection() as cursor:
File "c:\users\diese\appdata\local\programs\python\python36\lib\contextlib.py", line 81, in __enter__
return next(self.gen)
File "c:\users\diese\appdata\local\programs\python\python36\lib\site-packages\django\db\backends\base\base.py", line 254, in cursor
return self._cursor()
File "c:\users\diese\appdata\local\programs\python\python36\lib\site-packages\django\db\backends\base\base.py", line 229, in _cursor
self.ensure_connection()
File "c:\users\diese\appdata\local\programs\python\python36\lib\site-packages\django\db\backends\base\base.py", line 213, in ensure_connection
self.connect()
File "c:\users\diese\appdata\local\programs\python\python36\lib\site-packages\django\db\utils.py", line 94, in __exit__
six.reraise(dj_exc_type, dj_exc_value, traceback)
File "c:\users\diese\appdata\local\programs\python\python36\lib\site-packages\django\utils\six.py", line 685, in reraise
raise value.with_traceback(tb)
File "c:\users\diese\appdata\local\programs\python\python36\lib\site-packages\django\db\backends\base\base.py", line 213, in ensure_connection
self.connect()
django.db.utils.OperationalError: (1045, "Access denied for user 'Unacebra'@'localhost' (using password: NO)")