mtxr / vscode-sqltools

Database management for VSCode
https://vscode-sqltools.mteixeira.dev?utm_source=github&utm_medium=homepage-link
MIT License
1.49k stars 299 forks source link

[Feature] TiDB driver and ssl options support #1113

Closed Icemap closed 1 year ago

Icemap commented 1 year ago

Describe here what is this PR about and what we are achieving merging this.

Issue Tag: https://github.com/mtxr/vscode-sqltools/issues/1112

  1. Support TiDB via MySQL driver.
  2. Update the mysql lib to the mysql2.
  3. Support SSL options in the Connection Assistant panel.
image image image

Thank you for your contribution! Before submitting this PR, please make sure:

Icemap commented 1 year ago

For docs aspect screenshot:

Build way:

cd docs
yarn
yarn dev
Icemap commented 1 year ago

Hi, @gjsjohnmurray. I support the SSL option and TiDB driver in this PR. PTAL. Thanks.

gjsjohnmurray commented 1 year ago

@Icemap I have updated this PR's branch from dev and done some rudimentary testing. Please re-test and let me know here. I might not be able to respond immediately, so please continue to be patient as we inch towards getting this merged.