Skip to content
This repository has been archived by the owner on Dec 31, 2023. It is now read-only.

Commit

Permalink
Fix db connection string
Browse files Browse the repository at this point in the history
  • Loading branch information
le717 committed Dec 9, 2021
1 parent 726a2d9 commit 1ab1f4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/database/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

def get_db_conn_uri() -> str:
"""Create a database connection URI."""
return "mysql://{}:{}@{}/{}".format(
return "mysql+pymysql://{}:{}@{}/{}".format(
get_secret("DB_USERNAME"),
get_secret("DB_PASSWORD"),
current_app.config["DB_HOST"],
Expand Down

0 comments on commit 1ab1f4f

Please sign in to comment.