From 95b3aea9a2836495cd312b367954d111e1e347f0 Mon Sep 17 00:00:00 2001 From: wangsiyuan <2392948297@qq.com> Date: Mon, 25 Dec 2023 15:02:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20config.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/config.py b/config.py index e69de29..32f6303 100644 --- a/config.py +++ b/config.py @@ -0,0 +1,11 @@ +# config.py + +# 数据库连接配置 +DB_CONFIG = { + 'host': '42.193.20.110', + 'user': 'test', + 'password': 'X7gq9lbxqpDGbyCi', + 'database': 'test_db', + 'charset': 'utf8mb4', + 'cursorclass': 'pymysql.cursors.DictCursor' +} \ No newline at end of file