python中mysql基础操作
import pymysql# 连接数据库db = pymysql.connect( host='localhost', user='test', password="liang4", port=3306, database='test', autocommit=False)# 创建游标cursor = db.cursor()# # 创建表格student-(name, sex, age, score)# cursor.execute('d