-
Notifications
You must be signed in to change notification settings - Fork 465
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
what URL format that mssql accepts to connect a sqlserver? #17915
Comments
This extension doesn't currently support that, so unfortunately you won't be able to connect directly with a URI like you can in ADS |
Thanks @Charles-Gagnon for confirming this. I will look around for alternatives then |
@yadongyaly FYI - another tracking issue has been opened for supporting this. You can follow that for updates. I'll close this as it's a duplicate of that. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Not a bug, I could not find an answer online so post my question here.
I am working on TypeScript project, trying to use windows.open(URL, _self) to connect a database with VSC mssql extension, but I cannot find a correct URL format that mssql extension accepts.
For example, I tried this:
const URL =
vscode://ms-mssql.mssql//connect?server=${server}&database=${database}&authenticationType=AzureMFA
;window.open(URL, "_self");
After running, the vscode app pops out a windows saying "do you want to open this URL with mssql extension, and I clicked yes. However, nothing happens after that.
There is an example of opening Azure Data Studio, it works well, I am looking for something similar with VSC mssql extension.
const URL =
azuredatastudio://openConnectionDialog?server=${server}&database=${database}&authenticationType=AzureMFA
;The text was updated successfully, but these errors were encountered: