From ef8d341712cabe69513cb3deb93b51a14e63cd4f Mon Sep 17 00:00:00 2001 From: xepaerz Date: Thu, 6 Apr 2023 20:58:33 +1000 Subject: [PATCH] update connect to database MySQL --- pairent_backend/pairent_backend/settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pairent_backend/pairent_backend/settings.py b/pairent_backend/pairent_backend/settings.py index 26721a6..9383a79 100644 --- a/pairent_backend/pairent_backend/settings.py +++ b/pairent_backend/pairent_backend/settings.py @@ -78,8 +78,8 @@ DATABASES = { 'ENGINE': 'django.db.backends.mysql', 'NAME': 'pairent_db', 'USER': 'root', - 'PASSWORD': '', - 'HOST': '127.0.0.1', + 'PASSWORD': 'HuyZalupa98', + 'HOST': '178.20.44.123', 'PORT': '3306', 'OPTIONS': { 'init_command': "SET sql_mode='STRICT_TRANS_TABLES'"