Python 图片数据MYSQL存取(BASE64编码解码)
1.相关python代码
import pymysql
import sys
import base64
import os
def dbinfo():
conn = ""
conn = pymysql.connect(host='127.0.0.1', port=3306, user="root", password='123456', database='data',
charset='utf8',cursorclass =pymysql.cursors