时间:2024-10-12 13:01:12
1、新建一个测试类,import pymysql
3、cursor = db.cursor()获取数据的操作游标
5、data = cursor.fetchone()获取一下结果