db_mysql cleanup