From e6b76fa0e0ae379ac38b02de683df1cb2f10e5ce Mon Sep 17 00:00:00 2001 From: Susan Hammond Date: Fri, 22 Nov 2024 12:15:11 -0600 Subject: [PATCH] Changes to db connect string for MySQL --- BackEndFlask/core/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BackEndFlask/core/__init__.py b/BackEndFlask/core/__init__.py index adad5557e..d70f6939a 100644 --- a/BackEndFlask/core/__init__.py +++ b/BackEndFlask/core/__init__.py @@ -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