python读取mysql

1.python读取mysqlpython #!/usr/bin/python3 import pymysql # 打开数据库链接 db = pymysql.connect(host="192.138.7.104",user="root",password="root",db="dbname",port=port,charset='utf8') # 使用 cursor() 方法建立一个游标对象
相关文章
相关标签/搜索