File tree Expand file tree Collapse file tree 4 files changed +2
-2
lines changed Expand file tree Collapse file tree 4 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ def create_app(settings="config.py"):
15
15
"""Factory function to start the web app when everthing(i.e configurations are set up in place.)"""
16
16
myapp = Flask (__name__ )#Creating app instance
17
17
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 '
19
19
myapp .config ["SQLALCHEMY_TRACK_MODIFICATIONS" ]= False
20
20
myapp .config ['SQLALCHEMY_POOL_RECYCLE' ] = 299
21
21
myapp .config ['SQLALCHEMY_POOL_TIMEOUT' ] = 20
Original file line number Diff line number Diff line change 4
4
import sqlalchemy as sal
5
5
6
6
#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 " )
8
8
9
9
#Establishing a connection to the database
10
10
engine .connect ()
You can’t perform that action at this time.
0 commit comments