add app_data db connection
This commit is contained in:
parent
8e1d7978c0
commit
3499140a45
1 changed files with 8 additions and 0 deletions
|
|
@ -7,3 +7,11 @@ def dbConnect():
|
||||||
passwd="C@rtoon1995",
|
passwd="C@rtoon1995",
|
||||||
database="patient_manager"
|
database="patient_manager"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
def dbAppDataConnect():
|
||||||
|
return mysql.connector.connect(
|
||||||
|
host="mysqldb",
|
||||||
|
user="root",
|
||||||
|
passwd="C@rtoon1995",
|
||||||
|
database="app_data"
|
||||||
|
)
|
||||||
Loading…
Add table
Add a link
Reference in a new issue