python连接mysql

#coding=utf-8
import MySQLdb

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

新闻标题:python连接mysql
文章转载:http://scyanting.com/article/ghcopd.html