def METHOD_NAME(cls):
    # connect without db to create it
    db = connect(zk=OpenMLDB_ZK_CLUSTER, zkPath=OpenMLDB_ZK_PATH)
    cls.cursor_without_db = db.cursor()
    cls.cursor_without_db.execute(
        f"create database if not exists {cls.db_name};")
    # then we can use the db to connect
    db = connect(database=cls.db_name,
                 zk=OpenMLDB_ZK_CLUSTER,
                 zkPath=OpenMLDB_ZK_PATH)
    cls.cursor = db.cursor()
    cls.cursor.execute("create database if not exists db_test;")
    cls.cursor.execute("create table new_table (x string, y int16);")
    assert "new_table" in cls.cursor.get_all_tables()