Skip to content

Commit

Permalink
chore: MySQL DB 연결
Browse files Browse the repository at this point in the history
  • Loading branch information
권아림 committed Jul 25, 2024
1 parent d848249 commit 3c25205
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions mustgou/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
}
}

Expand Down

0 comments on commit 3c25205

Please sign in to comment.