Skip to content

Commit

Permalink
Changes to db connect string for MySQL
Browse files Browse the repository at this point in the history
  • Loading branch information
sah0017 committed Nov 22, 2024
1 parent f422fff commit e6b76fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BackEndFlask/core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def setup_cron_jobs():

MYSQL_DATABASE=os.getenv('MYSQL_DATABASE')

db_uri = (f"mysql+pymysql://{MYSQL_USER}:${MYSQL_PASSWORD}@{MYSQL_HOST}/{MYSQL_DATABASE}")
db_uri = (f"mysql+pymysql://{MYSQL_USER}:{MYSQL_PASSWORD}@{MYSQL_HOST}/{MYSQL_DATABASE}")

app.config['SQLALCHEMY_DATABASE_URI'] = db_uri

Expand Down

0 comments on commit e6b76fa

Please sign in to comment.