Interface: MySQLOptions

mysql.MySQLOptions MySQLOptions defines the data source name (DSN) options required to connect to a MySQL database. along with other options like Timeout etc Example
const mysql = require('nuclei/mysql');
const options = new mysql.MySQLOptions();
options.Host = 'acme.com';
options.Port = 3306;

Table of contents

Properties

Properties

DbName

Optional DbName: string

Defined in

mysql.ts:198

Host

Optional Host: string

Defined in

mysql.ts:188

Password

Optional Password: string

Defined in

mysql.ts:196

Port

Optional Port: number

Defined in

mysql.ts:190

Protocol

Optional Protocol: string

Defined in

mysql.ts:192

RawQuery

Optional RawQuery: string

Defined in

mysql.ts:200

Timeout

Optional Timeout: number

Defined in

mysql.ts:202

Username

Optional Username: string

Defined in

mysql.ts:194