MySQLdb
摘要:
一、数据库连接 conn = MySQLdb.connect(host='localhost', user='root', passwd='', db='database1', port=3306, charset='utf8') cur = conn.cursor() 阅读全文
posted @ 2015-11-03 20:07 _Ritchie 阅读(137) 评论(0) 推荐(0) 编辑
posted @ 2015-11-03 20:07 _Ritchie 阅读(137) 评论(0) 推荐(0) 编辑
posted @ 2015-11-03 19:25 _Ritchie 阅读(288) 评论(0) 推荐(0) 编辑