Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface UserConnectionConfig

Hierarchy

Index

Properties

charset?: string

Protocol character set used with the server. Connection collation will be the default collation associated with charset. It's mainly used for micro-optimizations. The default is often enough. for example, 'UTF8MB4', 'CP1250'. (default 'UTF8MB4')

collation?: string

Permit defined collation used for connection. This will define the charset encoding used for exchanges with database and defines the order used when comparing strings. It's mainly used for micro-optimizations (Default: 'UTF8MB4_UNICODE_CI')

connectAttributes?: any

When enabled, sends information during connection to server

  • client name
  • version
  • operating system
  • Node.js version

If JSON is set, add JSON key/value to those values.

When Performance Schema is enabled, the server can display client information on each connection.

database?: string

Name of the database to use for this connection

password?: string

The password of that MySQL user

user?: string

The MySQL user to authenticate as

Generated using TypeDoc