python连接mysql

#coding=utf-8
import MySQLdb

db= MySQLdb.connect("127.0.0.1","root","tvc123456","bigdata_content")
cursor=db.cursor()

文章题目:python连接mysql
转载源于:http://ybzwz.com/article/ghcopd.html