def __init__(self):
self.dbpool = adbapi.ConnectionPool('MySQLdb',
db = 'guazi',
user = 'root',
passwd = '',
cursorclass = MySQLdb.cursors.DictCursor,
charset = 'utf8',
use_unicode = True
)