Skip to content

is there any createifmissing in bechbase for mariadb? #621

Description

@minsky922

hello, i run benchbase below option:
java -jar benchbase.jar -b tpcc -c config/mariadb/sample_tpcc_config.xml --create=true --load=true --execute=true

[ERROR] 2025-06-27 16:59:19,488 [main] com.oltpbenchmark.DBWorkload main - Unexpected error when creating benchmark database tables.
java.sql.SQLSyntaxErrorException: (conn=12) Unknown database 'benchbase'

even if i create database benchbase,

[ERROR] 2025-06-27 17:18:19,380 [Thread-0] com.oltpbenchmark.util.ThreadUtil run - Exception in Loader Thread with message: [no table found with name [item]]; will count down latch with count 2 and then exit :(

i can read the code of benchbase and findout what does the table 'item' look like and manually create 'item' table,
but is there any option for createifmissing for when benchbase start?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions