Use pymysql instead of MySQLdv

See #877