摘要: """ Test connection to MySQL using mysql-client conn = MySQLdb.connect(host,port,user,passwd,db,charset) cursor = conn.cursor() cursor.execute(sql, (arg1,arg2,arg3...)) conn.commit() conn.rollback(... 阅读全文
posted @ 2017-12-15 00:50 shayzhang 阅读(247) 评论(0) 推荐(0) 编辑