Created
March 20, 2023 16:52
-
-
Save bobsilverberg/370295680197db703662ee0685b660d5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
python3 manage.py create_db --force | |
Traceback (most recent call last): | |
File "/data/olympia/manage.py", line 11, in <module> | |
execute_from_command_line(sys.argv) | |
File "/deps/lib/python3.10/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line | |
utility.execute() | |
File "/deps/lib/python3.10/site-packages/django/core/management/__init__.py", line 413, in execute | |
self.fetch_command(subcommand).run_from_argv(self.argv) | |
File "/deps/lib/python3.10/site-packages/django/core/management/base.py", line 354, in run_from_argv | |
self.execute(*args, **cmd_options) | |
File "/deps/lib/python3.10/site-packages/django/core/management/base.py", line 398, in execute | |
output = self.handle(*args, **options) | |
File "/data/olympia/src/olympia/amo/management/commands/create_db.py", line 39, in handle | |
connection = mysql.connect(**kwargs) | |
File "/deps/lib/python3.10/site-packages/MySQLdb/__init__.py", line 123, in Connect | |
return Connection(*args, **kwargs) | |
File "/deps/lib/python3.10/site-packages/MySQLdb/connections.py", line 185, in __init__ | |
super().__init__(*args, **kwargs2) | |
MySQLdb.OperationalError: (2005, "Unknown MySQL server host 'mysqld' (-2)") | |
make: *** [Makefile-docker:55: initialize_db] Error 1 | |
make: *** [initialize] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment