diff --git a/utils.py b/utils.py new file mode 100644 index 0000000..1f4a452 --- /dev/null +++ b/utils.py @@ -0,0 +1,5 @@ +import pymysql + +def connect(): + db = pymysql.connect(host='localhost', user='root', password='123456', database='CSS', charset='utf8') + return db \ No newline at end of file