Skip to content

Commit

Permalink
fix:mysql connection error
Browse files Browse the repository at this point in the history
Close #638
  • Loading branch information
Aries-ckt committed Sep 28, 2023
1 parent 48aa8b8 commit 75e5766
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pilot/connections/manages/connection_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ def __load_config_db(self):
CFG.LOCAL_DB_PASSWORD,
"",
)
if CFG.LOCAL_DB_PATH:
db_type = DBType.of_db_type(CFG.LOCAL_DB_TYPE)
if db_type.is_file_db():
db_name = CFG.LOCAL_DB_NAME
db_type = CFG.LOCAL_DB_TYPE
db_path = CFG.LOCAL_DB_PATH
Expand Down

0 comments on commit 75e5766

Please sign in to comment.