Skip to main content
Version: 4.4

Interface: MySql2ConnectionConfig#

knex.Knex.MySql2ConnectionConfig

Hierarchy#

Properties#

authPlugins#

Optional authPlugins: undefined | { [pluginName: string]: (pluginMetadata: any) => (pluginData: any) => any; }

Defined in: node_modules/knex/types/index.d.ts:2008


authSwitchHandler#

Optional authSwitchHandler: undefined | (data: any, callback: () => void) => any

Defined in: node_modules/knex/types/index.d.ts:2009


bigNumberStrings#

Optional bigNumberStrings: undefined | boolean

Inherited from: MySqlConnectionConfig.bigNumberStrings

Defined in: node_modules/knex/types/index.d.ts:1994


charset#

Optional charset: undefined | string

Inherited from: MySqlConnectionConfig.charset

Defined in: node_modules/knex/types/index.d.ts:1986


charsetNumber#

Optional charsetNumber: undefined | number

Defined in: node_modules/knex/types/index.d.ts:2010


compress#

Optional compress: undefined | boolean

Defined in: node_modules/knex/types/index.d.ts:2011


connectAttributes#

Optional connectAttributes: undefined | { [attrNames: string]: any; }

Defined in: node_modules/knex/types/index.d.ts:2012


connectTimeout#

Optional connectTimeout: undefined | number

Inherited from: MySqlConnectionConfig.connectTimeout

Defined in: node_modules/knex/types/index.d.ts:1988


database#

Optional database: undefined | string

Inherited from: MySqlConnectionConfig.database

Defined in: node_modules/knex/types/index.d.ts:1985


dateStrings#

Optional dateStrings: undefined | boolean

Inherited from: MySqlConnectionConfig.dateStrings

Defined in: node_modules/knex/types/index.d.ts:1995


debug#

Optional debug: undefined | boolean

Inherited from: MySqlConnectionConfig.debug

Defined in: node_modules/knex/types/index.d.ts:1996


decimalNumbers#

Optional decimalNumbers: undefined | boolean

Inherited from: MySqlConnectionConfig.decimalNumbers

Defined in: node_modules/knex/types/index.d.ts:2001


enableKeepAlive#

Optional enableKeepAlive: undefined | boolean

Defined in: node_modules/knex/types/index.d.ts:2013


flags#

Optional flags: undefined | string

Inherited from: MySqlConnectionConfig.flags

Defined in: node_modules/knex/types/index.d.ts:1999


host#

Optional host: undefined | string

Inherited from: MySqlConnectionConfig.host

Defined in: node_modules/knex/types/index.d.ts:1979


insecureAuth#

Optional insecureAuth: undefined | boolean

Inherited from: MySqlConnectionConfig.insecureAuth

Defined in: node_modules/knex/types/index.d.ts:1990


keepAliveInitialDelay#

Optional keepAliveInitialDelay: undefined | number

Defined in: node_modules/knex/types/index.d.ts:2014


localAddress#

Optional localAddress: undefined | string

Inherited from: MySqlConnectionConfig.localAddress

Defined in: node_modules/knex/types/index.d.ts:1981


maxPreparedStatements#

Optional maxPreparedStatements: undefined | number

Defined in: node_modules/knex/types/index.d.ts:2015


multipleStatements#

Optional multipleStatements: undefined | boolean

Inherited from: MySqlConnectionConfig.multipleStatements

Defined in: node_modules/knex/types/index.d.ts:1998


namedPlaceholders#

Optional namedPlaceholders: undefined | boolean

Defined in: node_modules/knex/types/index.d.ts:2016


nestTables#

Optional nestTables: undefined | string | boolean

Defined in: node_modules/knex/types/index.d.ts:2017


password#

Optional password: undefined | string

Inherited from: MySqlConnectionConfig.password

Defined in: node_modules/knex/types/index.d.ts:1984


passwordSha1#

Optional passwordSha1: undefined | string

Defined in: node_modules/knex/types/index.d.ts:2018


port#

Optional port: undefined | number

Inherited from: MySqlConnectionConfig.port

Defined in: node_modules/knex/types/index.d.ts:1980


queryFormat#

Optional queryFormat: undefined | (query: string, values: any) => string

Inherited from: MySqlConnectionConfig.queryFormat

Defined in: node_modules/knex/types/index.d.ts:1992


rowsAsArray#

Optional rowsAsArray: undefined | boolean

Defined in: node_modules/knex/types/index.d.ts:2019


socketPath#

Optional socketPath: undefined | string

Inherited from: MySqlConnectionConfig.socketPath

Defined in: node_modules/knex/types/index.d.ts:1982


ssl#

Optional ssl: undefined | string | MariaSslConfiguration

Inherited from: MySqlConnectionConfig.ssl

Defined in: node_modules/knex/types/index.d.ts:2000


stream#

Optional stream: undefined | boolean | (opts: any) => Stream | Stream

Defined in: node_modules/knex/types/index.d.ts:2020


stringifyObjects#

Optional stringifyObjects: undefined | boolean

Inherited from: MySqlConnectionConfig.stringifyObjects

Defined in: node_modules/knex/types/index.d.ts:1989


supportBigNumbers#

Optional supportBigNumbers: undefined | boolean

Inherited from: MySqlConnectionConfig.supportBigNumbers

Defined in: node_modules/knex/types/index.d.ts:1993


timezone#

Optional timezone: undefined | string

Inherited from: MySqlConnectionConfig.timezone

Defined in: node_modules/knex/types/index.d.ts:1987


trace#

Optional trace: undefined | boolean

Inherited from: MySqlConnectionConfig.trace

Defined in: node_modules/knex/types/index.d.ts:1997


typeCast#

Optional typeCast: any

Inherited from: MySqlConnectionConfig.typeCast

Defined in: node_modules/knex/types/index.d.ts:1991


uri#

Optional uri: undefined | string

Defined in: node_modules/knex/types/index.d.ts:2021


user#

Optional user: undefined | string

Inherited from: MySqlConnectionConfig.user

Defined in: node_modules/knex/types/index.d.ts:1983

Methods#

expirationChecker#

Optional expirationChecker:

Inherited from: MySqlConnectionConfig.expirationChecker

Last updated on by Martin Adámek