大作业-修改了主页
This commit is contained in:
7
Project/func/get_db.py
Normal file
7
Project/func/get_db.py
Normal file
@@ -0,0 +1,7 @@
|
||||
import pymysql
|
||||
|
||||
def get_db():
|
||||
return pymysql.connect(
|
||||
host='localhost', user='kejingfan',
|
||||
password='KJF2811879', database='TESTDB'
|
||||
)
|
||||
Reference in New Issue
Block a user