Interface MysqlOptions

interface MysqlOptions {
    host?: string | string[];
}

Hierarchy

  • Omit<ConnectionOptions, "host">
    • MysqlOptions

Properties

Properties

host?: string | string[]

The hostname of the database you are connecting to. (Default: localhost) It Accept a list of Hosts of type host:port for round robin connection