import pymysql
def connect():
db = pymysql.connect(host='localhost', user='root', password='123456', database='CSS', charset='utf8')
return db