From 0c66e8606e7e5fcb8e6e46a5a2b41eb49d886fc6 Mon Sep 17 00:00:00 2001 From: Alex Happy <1223408988@qq.com> Date: Mon, 20 Jul 2026 18:36:07 +0800 Subject: [PATCH] fix warning about scheduler connect to db --- scheduler/app/database/init_db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scheduler/app/database/init_db.py b/scheduler/app/database/init_db.py index 2a8a053..16885fb 100755 --- a/scheduler/app/database/init_db.py +++ b/scheduler/app/database/init_db.py @@ -30,7 +30,7 @@ def wait_for_mysql(): while True: try: connection = pymysql.connect( - host=DB_HOST, port=DB_PORT, user=db_user, passwd=db_passwd + host=DB_HOST, port=DB_PORT, user=db_user, password=db_passwd ) except Exception as e: print("waiting for mysql server to be ready: %s", e)