MDB_DROP(1)MDB_DROP(1)
LMDB 1.0.02026/04/28MDB_DROP(1)


NAME

    mdb_drop − LMDB database delete tool

SYNOPSIS

    mdb_drop [−V] [−n] [−L] [−d] [−m module [−w password]] [−s subdb]  envpath

DESCRIPTION

    The mdb_drop utility empties or deletes a database in the specified environment.

OPTIONS

    −V
    Write the library version number to the standard output, and exit.

    −n
    Operate on an LMDB environment which does not use subdirectories.

    −L
    Access the LMDB environment without any locking. If concurrent access is anticipated, the caller must manage all concurrency itself.

    −d
    Delete the specified database, don't just empty it.

    −m module
    Load the specified dynamic module to utilize cryptographic functions. This is required to operate on environments that have been configured with page-level checksums or encryption.

    −w password
    Specify the password for an encrypted environment. This is only used if a cryptography module has been loaded.

    −s subdb
    Operate on a specific subdatabase. If no database is specified, only the main database is dropped.

DIAGNOSTICS

    Exit status is zero if no errors occur. Errors result in a non-zero exit status and a diagnostic message being written to standard error.

AUTHOR