摘要: 连接数据库前,请先确认以下事项: 已经创建了数据库 ,表及用户名,密码 已经安装了 Python MySQLdb 模块。 数据库连接: import MySQLdb db = MySQLdb.connect("localhost", "testuser", "test123", "TESTDB", 阅读全文
posted @ 2019-12-15 16:38 黄伟564 阅读(435) 评论(1) 推荐(0) 编辑