From 3c252059887de2a1399b7b1cd60e5276626aa388 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B6=8C=EC=95=84=EB=A6=BC?= Date: Fri, 26 Jul 2024 04:11:18 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20MySQL=20DB=20=EC=97=B0=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mustgou/settings.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/mustgou/settings.py b/mustgou/settings.py index 4b4606a..a50965c 100644 --- a/mustgou/settings.py +++ b/mustgou/settings.py @@ -77,8 +77,12 @@ DATABASES = { "default": { - "ENGINE": "django.db.backends.sqlite3", - "NAME": BASE_DIR / "db.sqlite3", + "ENGINE": "django.db.backends.mysql", + "NAME": "MuGoU", + "USER": "root", + "PASSWORD": config("DB_PASSWORD"), + "HOST": "127.0.0.1", + "PORT": "3306", } }