mirror of
https://github.com/NanmiCoder/MediaCrawler.git
synced 2026-10-04 05:58:12 +08:00
fix_words
This commit is contained in:
+10
-5
@@ -12,11 +12,16 @@
|
||||
import os
|
||||
|
||||
# mysql config
|
||||
RELATION_DB_PWD = os.getenv("RELATION_DB_PWD", "123456")
|
||||
RELATION_DB_USER = os.getenv("RELATION_DB_USER", "root")
|
||||
RELATION_DB_HOST = os.getenv("RELATION_DB_HOST", "localhost")
|
||||
RELATION_DB_PORT = os.getenv("RELATION_DB_PORT", 3306)
|
||||
RELATION_DB_NAME = os.getenv("RELATION_DB_NAME", "media_crawler")
|
||||
# RELATION_DB_PWD = os.getenv("RELATION_DB_PWD", "123456")
|
||||
# RELATION_DB_USER = os.getenv("RELATION_DB_USER", "root")
|
||||
# RELATION_DB_HOST = os.getenv("RELATION_DB_HOST", "localhost")
|
||||
# RELATION_DB_PORT = os.getenv("RELATION_DB_PORT", 3306)
|
||||
# RELATION_DB_NAME = os.getenv("RELATION_DB_NAME", "media_crawler")
|
||||
RELATION_DB_HOST = "47.94.233.47" # 替换为你的数据库域名/公网IP
|
||||
RELATION_DB_PORT = 3306 # 替换为你的数据库端口(通常3306)
|
||||
RELATION_DB_USER = "remote_user" # 替换为你的数据库用户名
|
||||
RELATION_DB_PWD = "314159" # 替换为你的数据库密码
|
||||
RELATION_DB_NAME = "Test" # 替换为你的数据库名称
|
||||
|
||||
|
||||
# redis config
|
||||
|
||||
Reference in New Issue
Block a user