From 4f5f83d3faaac6de552aadd5a3f188e8883b9fc4 Mon Sep 17 00:00:00 2001 From: ccgo <> Date: Thu, 22 Feb 2024 00:07:40 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0sqlite=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E7=A4=BA=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/db_config.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/db_config.py b/config/db_config.py index d3f1d14..f7d9748 100644 --- a/config/db_config.py +++ b/config/db_config.py @@ -7,3 +7,6 @@ REDIS_DB_PWD = os.getenv("REDIS_DB_PWD", "123456") # your redis password # mysql config RELATION_DB_PWD = os.getenv("RELATION_DB_PWD", "123456") # your relation db password RELATION_DB_URL = f"mysql://root:{RELATION_DB_PWD}@localhost:3306/media_crawler" + +# sqlite3 config +# RELATION_DB_URL = f"sqlite://data/media_crawler.sqlite" \ No newline at end of file