摘要: from DBUtils.PooledDB import PooledDB import pymysql POOL = PooledDB( creator=pymysql, # 使用链接数据库的模块 maxconnections=6, # 连接池允许的最大连接数,0和None表示不限制连接数 mincached=2, # 初始化时,链接池中至少创建的空闲的链接,0... 阅读全文
posted @ 2019-06-25 19:08 adiugy 阅读(959) 评论(0) 推荐(0) 编辑