python插入mysql数据遇到fail to insert record into table
python的代码:
# -*- coding: utf-8 -*-
import pymysql
from datetime import datetime
。。。。。。
sql = "insert into employee(first_name, last_name, age, sex, income, create_time) values('%s', '%s', %d,...
原创
2019-08-29 10:06:28 ·
969 阅读 ·
0 评论