連接測試服務器數據庫須要修改的地方

"DATABASES": {
        "default": {
            "ENGINE": "django.db.backends.mysql",
            "HOST": "121.42.11.62",
            "NAME": "edxapp",
            "PASSWORD": "",
            "PORT": "3306",
            "USER": "root"
        },
        "read_replica": {
            "ENGINE": "django.db.backends.mysql",
            "HOST": "121.42.11.62",
            "NAME": "edxapp",
            "PASSWORD": "",
            "PORT": "3306",
            "USER": "root"
        }
    },

mysql

相關文章
相關標籤/搜索