Toshihiko
    Preparing search index...

    Interface MySQLAdapterOptions

    mysql2 Pool options plus Toshihiko Adapter configuration.

    interface MySQLAdapterOptions {
        cache?: CacheSource;
        database?: string;
        package?: string;
        password?: string;
        pool?: Pool;
        showSql?: MySQLShowSql;
        user?: string;
        username?: string;
    }

    Hierarchy

    • Omit<PoolOptions, "database" | "password" | "user">
      • MySQLAdapterOptions
    Index
    cache?: CacheSource

    Cache instance or module-style Cache configuration.

    database?: string

    Database name; defaults to toshihiko.

    package?: string

    Driver package name retained for compatibility.

    password?: string

    MySQL password.

    pool?: Pool

    Existing mysql2 Pool.

    showSql?: MySQLShowSql

    SQL logging behavior.

    user?: string

    MySQL username.

    username?: string

    Compatibility alias for user.