diff --git a/app.py b/app.py index d5d59e8..eede292 100644 --- a/app.py +++ b/app.py @@ -16,7 +16,12 @@ table_airports = "airport_data" # MySQL specific connection string -database_uri = f"mysql+mysqlconnector://{mysql_user_project2}:{mysql_pass_project2}@{mysql_hostname}:{mysql_port}/{database_name}" +database_uri = f"""mysql+mysqlconnector:// + {mysql_user_project2}: + {mysql_pass_project2}@ + {mysql_hostname}: + {mysql_port}/ + {database_name}""" # Create the engine to connect to the database engine = create_engine(database_uri)