Skip to content

Commit 825c998

Browse files
committed
New Database
1 parent 0531b26 commit 825c998

File tree

4 files changed

+2
-2
lines changed

4 files changed

+2
-2
lines changed

__pycache__/app.cpython-38.pyc

0 Bytes
Binary file not shown.

__pycache__/models.cpython-38.pyc

-43 Bytes
Binary file not shown.

app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def create_app(settings="config.py"):
1515
"""Factory function to start the web app when everthing(i.e configurations are set up in place.)"""
1616
myapp=Flask(__name__)#Creating app instance
1717
myapp.config["SECRET_KEY"]=SECRET_KEY
18-
myapp.config["SQLALCHEMY_DATABASE_URI"]='mysql+pymysql://sql4452256:jrzZ6YuNTR@sql4.freemysqlhosting.net/sql4452256'
18+
myapp.config["SQLALCHEMY_DATABASE_URI"]='mysql+pymysql://sql3454571:WHX46b68A6@sql3.freemysqlhosting.net/sql3454571'
1919
myapp.config["SQLALCHEMY_TRACK_MODIFICATIONS"]=False
2020
myapp.config['SQLALCHEMY_POOL_RECYCLE'] = 299
2121
myapp.config['SQLALCHEMY_POOL_TIMEOUT'] = 20

pubsnsubs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import sqlalchemy as sal
55

66
#Establishing connection to the database
7-
engine=sal.create_engine("mysql+pymysql://sql4452256:jrzZ6YuNTR@sql4.freemysqlhosting.net/sql4452256")
7+
engine=sal.create_engine("mysql+pymysql://sql3454571:WHX46b68A6@sql3.freemysqlhosting.net/sql3454571")
88

99
#Establishing a connection to the database
1010
engine.connect()

0 commit comments

Comments
 (0)