Skip to main content
Version: 4.5

Interface: MySqlConnectionConfig#

knex.Knex.MySqlConnectionConfig

Hierarchy#

Properties#

bigNumberStrings#

Optional bigNumberStrings: boolean

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


charset#

Optional charset: string

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


connectTimeout#

Optional connectTimeout: number

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


database#

Optional database: string

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


dateStrings#

Optional dateStrings: boolean

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


debug#

Optional debug: boolean

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


decimalNumbers#

Optional decimalNumbers: boolean

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


flags#

Optional flags: string

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


host#

Optional host: string

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


insecureAuth#

Optional insecureAuth: boolean

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


localAddress#

Optional localAddress: string

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


multipleStatements#

Optional multipleStatements: boolean

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


password#

Optional password: string

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


port#

Optional port: number

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


queryFormat#

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

Type declaration:#

▸ (query: string, values: any): string

Parameters:#

NameType
querystring
valuesany

Returns: string

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

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


socketPath#

Optional socketPath: string

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


ssl#

Optional ssl: string | MariaSslConfiguration

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


stringifyObjects#

Optional stringifyObjects: boolean

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


supportBigNumbers#

Optional supportBigNumbers: boolean

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


timezone#

Optional timezone: string

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


trace#

Optional trace: boolean

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


typeCast#

Optional typeCast: any

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


user#

Optional user: string

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

Methods#

expirationChecker#

OptionalexpirationChecker(): boolean

Returns: boolean

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

Last updated on by Renovate Bot