Skip to content
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

Can't open connection #167

Open
dudeNumber4 opened this issue Jan 4, 2023 · 0 comments
Open

Can't open connection #167

dudeNumber4 opened this issue Jan 4, 2023 · 0 comments

Comments

@dudeNumber4
Copy link

Upon attempting to create a new connection for sqltools, I get the error below. For my connection I have name, server, port, username, password. Any ideas what I'm missing? The error doesn't help.

I do see this in the log, so it looks like the trino extension was installed OK:
INFO (ls): request to register plugin: "c:\Users\bwood.vscode\extensions\regadas.sqltools-trino-driver-0.2.9\out\ls\plugin.js"
INFO (ls): Driver trino driver registered!

TypeError: Cannot read properties of undefined (reading 'toLowerCase')
at DriverMap.has (c:\Users\bwood.vscode\extensions\mtxr.sqltools-0.27.0\dist\languageserver.js:1:668340)
at new Connection (c:\Users\bwood.vscode\extensions\mtxr.sqltools-0.27.0\dist\languageserver.js:1:664539)
at ConnectionManagerPlugin.openConnectionHandler (c:\Users\bwood.vscode\extensions\mtxr.sqltools-0.27.0\dist\languageserver.js:1:688109)
at async ConnectionManagerPlugin._autoConnectIfActive (c:\Users\bwood.vscode\extensions\mtxr.sqltools-0.27.0\dist\languageserver.js:1:693724)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant