class dpmysql.py