Commit 338c6f92 authored by 段英荣's avatar 段英荣

Update settings.py

parent 1a38d3ac
...@@ -131,7 +131,7 @@ DATABASES = { ...@@ -131,7 +131,7 @@ DATABASES = {
'NAME': 'alpha', 'NAME': 'alpha',
'USER': 'work', 'USER': 'work',
'PASSWORD': 'Gengmei123', 'PASSWORD': 'Gengmei123',
'HOST': 'rm-2ze5k2we69904787l.mysql.rds.aliyuncs.com', 'HOST': 'rm-2zeaut61u9sm21m0b.mysql.rds.aliyuncs.com',
'PORT': '3306', 'PORT': '3306',
'OPTIONS': { 'OPTIONS': {
"init_command": "SET foreign_key_checks = 0;", "init_command": "SET foreign_key_checks = 0;",
...@@ -143,7 +143,7 @@ DATABASES = { ...@@ -143,7 +143,7 @@ DATABASES = {
'NAME': 'face', 'NAME': 'face',
'USER': 'work', 'USER': 'work',
'PASSWORD': 'Gengmei123', 'PASSWORD': 'Gengmei123',
'HOST': 'rm-2ze5k2we69904787l.mysql.rds.aliyuncs.com', 'HOST': 'rm-2zeaut61u9sm21m0b.mysql.rds.aliyuncs.com',
'PORT': '3306', 'PORT': '3306',
#'CONN_MAX_AGE': None, #'CONN_MAX_AGE': None,
'OPTIONS': { 'OPTIONS': {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment