Skip to content

Commit

Permalink
Merge pull request #1517 from cweijan/patch-3
Browse files Browse the repository at this point in the history
Add minVersion for ssl option.
  • Loading branch information
sidorares authored Feb 16, 2022
2 parents dadef38 + 0cf4e8d commit 943b8b2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions typings/mysql/lib/Connection.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,11 @@ declare namespace Connection {
* You can also connect to a MySQL server without properly providing the appropriate CA to trust. You should not do this.
*/
rejectUnauthorized?: boolean;

/**
* Configure the minimum supported version of SSL, the default is TLSv1.2.
*/
minVersion?: string;
}
}

Expand Down

0 comments on commit 943b8b2

Please sign in to comment.