This repository has been archived on 2024-09-30. You can view files and clone it, but cannot push or open issues/pull-requests.
SmartRollCall/config.py

16 lines
361 B
Python

# config.py
import pymysql
# app secretkey
SECRET_KEY = 'sUNiJ7QPulxrbmZD'
# 数据库连接配置
DB_CONFIG = {
'host': '42.193.20.110',
'port': 8006, # 注意端口是数字,不是字符串
'user': 'test',
'password': 'X7gq9lbxqpDGbyCi',
'database': 'test_db',
'charset': 'utf8mb4',
'cursorclass': pymysql.cursors.DictCursor
}