feat: 添加项目配置文件和数据库连接设置,更新.gitignore以排除不必要的文件
This commit is contained in:
parent
f067fba177
commit
2c44e77664
8
DB.py
8
DB.py
@ -6,8 +6,8 @@ import time
|
||||
|
||||
class DBVidcon:
|
||||
_MYSQL_CONF = {
|
||||
"host": "192.144.230.75",
|
||||
"port": 3306,
|
||||
"host": "192.144.230.75", # "127.0.0.1", #
|
||||
"port": 3306, # 3307, #
|
||||
"user": "db_vidcon",
|
||||
"password": "rexdK4fhCCiRE4BZ",
|
||||
"database": "db_vidcon",
|
||||
@ -15,8 +15,8 @@ class DBVidcon:
|
||||
"cursorclass": pymysql.cursors.DictCursor,
|
||||
}
|
||||
_REDIS_CONF = {
|
||||
"host": "192.144.230.75",
|
||||
"port": 6379,
|
||||
"host": "192.144.230.75", # "127.0.0.1", #
|
||||
"port": 6379, # 6380, #
|
||||
"password": "qwert@$123!&",
|
||||
"decode_responses": True,
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user