1.pymysql连接数据库:
import pymysql
from pymysql.cursors import DictCursor
coon = pymysql.connect(‘localhost‘,‘root‘,‘123456‘,‘shop‘)
cur = coon.cursor(DictCursor)
2022-05-18 05:23:11
1.pymysql连接数据库:
import pymysql
from pymysql.cursors import DictCursor
coon = pymysql.connect(‘localhost‘,‘root‘,‘123456‘,‘shop‘)
cur = coon.cursor(DictCursor)
下一篇:sql注入文件读写