import dataset db = dataset.connect('mysql://vincent:vipAsw0_69d@db.ptt.cx:3306/vincent?charset=utf8mb4') table=db['test'] table.insert({'title':'test','content':'this is a test'})